Hi,
I have a page with RadGrid with AllowPaging="true", AllowSorting="true", AutoGenerateColumns="false".
The data in the grid populated correctly without any problem.
When user click on the header of 1 of the column, the data in the grid is sorted according to the column (ascending/descending) without problem.
But after user click on the header of the column, an arrow will appear beside the header of the column, when click on the arrow, will hit error:
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.
Attached is the screenshot of the error:
error01.jpeg - Before click on header of column
error02.jpeg - After click on colum header "Schedule Name" then the data is sorted according to the column and an arrow appear beside "Schedule Name"
error03.jpg - After click on the arrow beside "Schedule Name", hit error
What should i do?
Thanks!
I have a page with RadGrid with AllowPaging="true", AllowSorting="true", AutoGenerateColumns="false".
The data in the grid populated correctly without any problem.
When user click on the header of 1 of the column, the data in the grid is sorted according to the column (ascending/descending) without problem.
But after user click on the header of the column, an arrow will appear beside the header of the column, when click on the arrow, will hit error:
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.
Attached is the screenshot of the error:
error01.jpeg - Before click on header of column
error02.jpeg - After click on colum header "Schedule Name" then the data is sorted according to the column and an arrow appear beside "Schedule Name"
error03.jpg - After click on the arrow beside "Schedule Name", hit error
What should i do?
Thanks!