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

RadGrid in DNN

1 Answer 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Antonio
Top achievements
Rank 1
Antonio asked on 19 Apr 2012, 11:26 AM
Im using radgrid in a custom module in DNN Community Edition 06.01.04 which uses Teletik.Web.UI 2011.3.1115.35.
However I cant get radgrid's deletes, change page... commands to work.
Im using LinqDataSource
I get this error:

DotNetNuke.Services.Exceptions.PageLoadException: 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. ---> System.ArgumentException: 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.     at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)     at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I have tried everything I could possibly find.
Please help me

1 Answer, 1 is accepted

Sort by
0
Antonio
Top achievements
Rank 1
answered on 19 Apr 2012, 12:47 PM
Finally got it to work thanks to Sandeep Kram.
All I had to do was add a RadAjaxManager.
Why it works? Beats me!
Tags
Grid
Asked by
Antonio
Top achievements
Rank 1
Answers by
Antonio
Top achievements
Rank 1
Share this question
or