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

Error:Unspecified error

0 Answers 17 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
saravanan k
Top achievements
Rank 1
saravanan k asked on 18 Apr 2010, 11:12 AM
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

}

}

No answers yet. Maybe you can help?

Tags
TabStrip
Asked by
saravanan k
Top achievements
Rank 1
Share this question
or