Unhandled exception

2 posts, 0 answers
  1. Antonio
    Antonio avatar
    2 posts
    Member since:
    Jun 2013

    Posted 18 Jun 2013 Link to this post

    Hi,

    I am new to Telerik controls. And so far its been a little frustration using them.
    I have a List View with User Controls for Insert and Update.
    And every time I try to edit, insert or even cancel I get this error;
    Unhandled exception at line 15, column 9936 in http://localhost:63390/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=3.5.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:7263e9c6-5962-41bc-b839-88b704bfcf0d:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2010.2.929.35,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:15a8cff0-9e51-4282-a100-c2dcd204ecf2:16e4e7cd:58366029:f7645509:24ee1bba:1e771326:aa288e2d:b7778d6c:c08e9f8a:8674cba1:59462f1:a51ee93e:e330518b:8e6f0d33:6a6d718d:e085fe68:1bb784d4:82923ac3
      
    0x800a139e - JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: 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.

    The functions and code are almost the same from another working ListView.

    Any solutions for fixing this problem?

    Thank you.
  2. Antonio
    Antonio avatar
    2 posts
    Member since:
    Jun 2013

    Posted 19 Jun 2013 Link to this post

    Problem fixed.

     

     

     

    if (!IsPostBack) {

     

        ListView.DataBind();

    }

Back to Top