Error:Unspecified error

1 posts, 0 answers
  1. saravanan k
    saravanan k avatar
    88 posts
    Member since:
    Mar 2010

    Posted 18 Apr 2010 Link to this post

    Hi,

    I am using Ribbon UI in my master page. The content pages are within ajax update panel. I prompt my users to save the form details, when they navigate away from a page.

    Scenario:
    If a user does not save a form and tries to navigate away by clicking on a button in the ribbon UI(redirects to some other page), a prompt appears with Ok and Cancel. If the user clicks OK, he navigates to the link. If he clicks on cancel, the page redirection will not happen.

    Error:

    When the user clicks cancel, An "unspecified error" pops up. This happens only if the user tries to navigate by clicking a button in ribbon UI

    function __doPostBack(eventTarget, eventArgument) {

     

     

    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {

     

    theForm.__EVENTTARGET.value = eventTarget;

    theForm.__EVENTARGUMENT.value = eventArgument;

    theForm.submit();--------->Error here

    }

    }

Back to Top