imageButton in a gridview
-
Hello I try to use an Imagebutton instead of a LinkButton in my gridview to select and to delete a specific row but when using the asp.net application and press the image it will give this error: "Invalid postback or callback argument. Event validation is enabled using 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. " Please help And tahnks in advance
Assaf
-
Hello I try to use an Imagebutton instead of a LinkButton in my gridview to select and to delete a specific row but when using the asp.net application and press the image it will give this error: "Invalid postback or callback argument. Event validation is enabled using 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. " Please help And tahnks in advance
Assaf
Add ====> EnableEventValidation="False" In <%@ Page
Best Regards, Chetan Patel
-
Add ====> EnableEventValidation="False" In <%@ Page
Best Regards, Chetan Patel