|
-
Jul 22nd, 2005, 04:04 AM
#1
Thread Starter
Lively Member
Urgent Java Script Problem
Hi,
I am facing a very typical problem in my asp.net(with C#) application.
I have taken a dropdownlistbox on my page with autopostback=true.
I have filled this at page load from database.At Runtime when i select any item from this dropdown i get a error
'Microsoft JScript runtime error: Object doesn't support this property or method'.
I have not written any thing else on page or code behind.
This error comes in autogenerated java script.
<script language="javascript" type="text/javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
theform = document.Form1;
}
else {
theform = document.forms["Form1"];
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();-->This is the error line. }
// -->
</script>
This script is autogenerated by asp.net.
Plz help me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|