Hi Miguel,
This is a well-known bug and its already fixed in a patch release by
Microsoft, sorry I dont have the link handy but you should not have much
trouble in finding it, just google for it or search microsoft.com
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
"Miguel Figueroa" <> wrote in message
news:021001c397ef$ce1c3980$...
> Hi,
>
> I'm (and I thing a lot of guys are) having problems with
> the __doPostBack javascript function. This due to the
> installation of .Net 1.1 on my pc containing the .Net 1.0
> The project I'm working on it, targets the .Net 1.0 (has
> not been migrated to .Net 1.1).
>
> Problem description:
> Object expected.
> Code:
> function __doPostBack(eventTarget, eventArgument) {
> var theform;
> if (window.navigator.appName.toLowerCase
> ().indexOf("netscape") > -1) {
> theform = document.forms
> ["Layout:frmLayout"];
> }
> else {
> theform =
> document.Layout:frmLayout;
> }
> theform.__EVENTTARGET.value =
> eventTarget.split("$").join(":");
> theform.__EVENTARGUMENT.value =
> eventArgument;
> theform.submit();
> }
>
>
> As you can see the code document.Layout:frmLayout;
> is invalid in JavaScript because of the :frmLayout