Invalid postback or callback argument error?

后端 未结 3 1233
逝去的感伤
逝去的感伤 2021-01-13 09:41

I have two dropdownlists and I am filling one based on the other using javascript. In my javascript code I am calling for a webservice and with the results returned I fill t

相关标签:
3条回答
  • 2021-01-13 10:11

    My problem was solved when cancel event at end of grid event at server side.

    protected void grdEducation_RowEditing(object sender, GridViewEditEventArgs e)
    {
      // do your processing ... 
    
      // at end     
      e.Cancel = true;
    }
    
    0 讨论(0)
  • 2021-01-13 10:12

    I got same Error when i got one of my clients project. It is related to the web.config file. Simply Paste the below code under appSettings in config file.

    <add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
    
    0 讨论(0)
  • 2021-01-13 10:13

    If you want to modify generated controls from client side, you have to disable eventvalidation or register all possible values with RegisterForEventValidation. It's well explained here. It's because the data sent to the client and received after by the server differs.

    edit:also responded here.

    0 讨论(0)
提交回复
热议问题