cutting edge nested grid problem , doesn't allow edit or delete grid functionality.

Last post 07-04-2008 7:52 AM by Pushkar. 1 replies.

Sort Posts:

  • cutting edge nested grid problem , doesn't allow edit or delete grid functionality.

    07-04-2008, 6:33 AM
    • Member
      2 point Member
    • vilindaT
    • Member since 07-04-2008, 8:29 AM
    • Posts 3

    Hi,

          I am using nested grid(cutting edge).grid contains edit and delete buttons inside it.For detail grid's page index change event i ahve to bind data to grid on page load,so it is showing data of details grid on next page but it is creating problem for Edit and Delete functionality.it is giving error like

    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.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: 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.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Please tell me the solution for that.Waiting for reply.it's urgent.

    Thanks

    Vilinda

  • Re: cutting edge nested grid problem , doesn't allow edit or delete grid functionality.

    07-04-2008, 7:52 AM
    Answer
    • Contributor
      5,699 point Contributor
    • Pushkar
    • Member since 02-17-2006, 2:27 AM
    • Vibrant Gujarat
    • Posts 1,085
    Hi,

    This is usually because of the ASP.NET Event Validation. Try setting EnableEventValidation to "false" in the page directive. For more details, you can check this long thread:

    http://forums.asp.net/t/922994.aspx?PageIndex=1
    “ There is no great genius without some touch of madness. ”


    Remember to click “Mark as Answer” on the post If you get answer from my post(s) !

    Thanks Guys
    ------------
    Pushkar M Rathod
Page 1 of 1 (2 items)