Event Validation Error when attempting to remove record from datagrid

Asked By 0 points N/A Posted on -
qa-featured

I have already enabled event validation through <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %>, but I still get this error message saying invalid postback or callback argument. This happens every time I wanted to remove a record from my datagrid. What should I do with it? Is there something wrong with client script manager? Please help. 


 

SHARE
Answered By 25 points N/A #114203

Event Validation Error when attempting to remove record from datagrid

qa-featured

Dear Julie Montes

According to the error message "invalid postback or callback argument" you got when you are trying to remove a record from a data grid. This may happen because of asp.net event validation. You may need to set "PageEnableEventValidation" to false in the page directive @page in the aspx file 1st line or "enableEcentValidation" to false in the web.config file in the /admin/ folder. Also, may be the asp.net framework is not set properly. Make sure that your asp.net is set to 2.0 in your server settings and try again.

 Hope this may help you.

Best of luck

Related Questions