Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster Tony John
Online Members
Asheej T K
baskar
Priya jain
Phagu Mahato
sharmila
More...
Resources
»
Errors and Solutions
»
Windows Errors
Error on click of a button in a grid.
Posted Date:
22-May-2010
Category:
Windows Errors
Author:
Vivek Sharma
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:
What is GridView control and how to bind GridView to data?
How to Export gridview or repeater data to Excel
How to bind a GridView control programmatically to data from a stored procedure
How to add Buttons in Data GridView?
Adding Empty Rows in GridView
WPF Grid Control with Multiple GridView Options by DevExpress – v2010 vol 1
Empty Grid View with Header & Footer
Gridview within another gridview
How to bind Gridview with array datasource
Code to bind gridview with DataAdapter
Read related articles:
Gridview error
Gridview click error
Gridview
Did you like this resource? Share it with your friends and show your love!
Tweet
Responses to "Error on click of a button in a grid."
No responses found. Be the first to respond...
Feedbacks
Post Comment:
Notify me by email when others post comments to this article.
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
Install applications on samsung s3310 metro
The XML parse error 0xc00ce508 occurred
RegisterForEventValidation can only be called during Render();
.NET Framework 4 RTM Migration Issues on MSDN
How to set the different colors for the different datagridview rows in c#
Generic Host Process for Win32 Services Error
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
Today
Pawan Awasthi
(76)
srirama
(30)
Phagu Mahato
(14)
Last 7 Days
baskar
(298)
Pawan Awasthi
(186)
Asheej T K
(173)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds