Subscribe to Subscribers
Talk to Webmaster Tony John


Resources » Errors and Solutions » Windows Errors

Error on click of a button in a grid.


Posted Date:     Category: Windows Errors    
Author: Member Level: Gold    Points: 3


Error on click of a button in a grid.



 


Hi friends, below is the error which I am grtting on click of a button inside a grid, you may get this error on click of a button on any web form.
Below is the complete error message.

Error on click of a button in a grid.

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.

Here is the solution set the property in page defination:

EnableEventValidation="false"


Regards
Vivek Sharma
Related Resources:


Read related articles: Gridview error    Gridview click error    Gridview    


Did you like this resource? Share it with your friends and show your love!


Responses to "Error on click of a button in a grid."

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Install applications on samsung s3310 metro
    Previous Resource: Appy Order by clause on datetime field of type varchar.
    Return to Resources
    Post New Resource
    Category: Windows Errors


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    Error on button click  .  Error on click on a button inside a grid  .  Error on click event  .  



    Follow us on Twitter: https://twitter.com/dotnetspider

    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.