SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2011
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript runtime error

    Hello everyone,

    I've created a Address book page (By following the asp.net 4 website using C#). Originally it was working fine, I could edit, delete and add new data. Now how ever I am getting an error when ever I try to click on edit or anything else and I am pretty sure that I have not changed anything at all. So I am somewhat confused as to what has happened. what can I do to overcome this and why did this happen?:


    PHP Code:
    JavaScript runtime errorSys.WebForms.PageRequestManagerServerErrorExceptionInvalid postback or callback argument
     
    Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  
    For 
    security purposesthis 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

    Also a random file opens up and a throw error is highlighted as the message appears:

    PHP Code:
            var eventArgs = new Sys.WebForms.EndRequestEventArgs(errordata data.dataItems : {}, executor);
            
    Sys.Observer.raiseEvent(this"endRequest"eventArgs);
            if (
    error && !eventArgs.get_errorHandled()) {
              throw 
    error

  2. #2
    SitePoint Enthusiast
    Join Date
    Dec 2011
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can no one help? Should post the aspx and.CS pages? or the web.config file?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •