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.
just wanted to know are u working on Telerik Controls?
Dorababu MekaRank #457 · 5.5K reputationPosted Sep 24, 2012, 4:42 AM EDT
Your code in this event rather than normal gridview binding
protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
Your code to bind
}
Dorababu MekaRank #457 · 5.5K reputationPosted Sep 24, 2012, 12:25 AM EDT
nallyaRank #8,588 · 219 reputationPosted Sep 24, 2012, 3:51 AM EDT
Dorababu MekaRank #457 · 5.5K reputationPosted Sep 24, 2012, 3:55 AM EDT
nallyaRank #8,588 · 219 reputationPosted Sep 24, 2012, 4:31 AM EDT
Exception:
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.
just wanted to know are u working on Telerik Controls?
Thanks
Dorababu MekaRank #457 · 5.5K reputationPosted Sep 24, 2012, 4:34 AM EDT
Dorababu MekaRank #457 · 5.5K reputationPosted Sep 24, 2012, 4:37 AM EDT
Also handle If(!IsPostBack) in page load
nallyaRank #8,588 · 219 reputationPosted Sep 24, 2012, 4:39 AM EDT
it wont run on normal grid binding
nallyaRank #8,588 · 219 reputationPosted Sep 24, 2012, 4:48 AM EDT
Its working great.
thanks
Dorababu MekaRank #457 · 5.5K reputationPosted Sep 24, 2012, 4:55 AM EDT
karthik5 reputationPosted Dec 16, 2014, 3:02 PM EST
babu
i am stuck with rad grid paging..
can u pls provide me a sample code...
i tried the above.. i couldnt see the paging controls..
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts