SmartNavigation causes javascript error...

T

Thomas Lin

With smart navigation turned on (either in the web.config or the page
directive), I'm getting a javascript error on a lot of pages on my
website.

The error is "Illegal Assignment".

function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1)
{
theform = document.forms["index"];
}
else {
theform = document.index;
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
*** theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}

I've put three asterisks in front of the line it says is a problem.

As soon as I turn SmartNavigation off, there is no javascript error.

Anyone have any ideas? We go to production in 2 weeks and could
really use SmartNavigation to handle some postbacks.

Thanks in anticipation!

Thomas N. Lin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top