This is a migrated thread and some comments may be shown as answers.

Error on clicking Grid sort Icon

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
RaghavendraPrasad Keshava
Top achievements
Rank 1
RaghavendraPrasad Keshava asked on 28 Jan 2011, 09:04 AM
Hi,
  When I click on sort text(column Name) the data is getting soreted correctly. But if I click on the sort icon I am getting an exception. Please find the exception details below

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.

Please let me know.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 31 Jan 2011, 06:10 PM
Hi,

The issue that you described is most probably due to databinding issues for the control. To make sure that the control is properly maintained, please use Advanced Databinding.

You can also verify that EnableViewState property of the grid is set to true.

Greetings,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
RaghavendraPrasad Keshava
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or