Dear All
Just now i got one error that arrives on clicking on the button under the item template
A critical error has occurred. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Here is the solution
Add the following line under web.config page
<pages enableEventValidation="false"/>
if you are using dnn then change the page line with the below line i change true to false
<pages validateRequest="false" enableViewStateMac="true" enableEventValidation="false" viewStateEncryptionMode="Always">
Regards
Rashid Imran Bilgrami
http://www.bestvisualization.com
Just now i got one error that arrives on clicking on the button under the item template
A critical error has occurred. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Here is the solution
Add the following line under web.config page
<pages enableEventValidation="false"/>
if you are using dnn then change the page line with the below line i change true to false
<pages validateRequest="false" enableViewStateMac="true" enableEventValidation="false" viewStateEncryptionMode="Always">
Regards
Rashid Imran Bilgrami
http://www.bestvisualization.com
Comments
Post a Comment
Thanks for the Comments , Your review will display soon