Jump to content

IE9 issue with <PUBLIC:ATTACH event="ondetach" on postback script error


Guest Rey Shah

Recommended Posts

Guest Rey Shah

We have an applciation written in VB.NET 2.0.

Most html elements have behaviours associated with them.

The behavior file shave the statement <PUBLIC:ATTACH event="ondetach" .... />

When a page is opened there are no errors but if we postback to same page we get a script error line 1 char 1 code 0 and we cannot debug it since it does not show source code. Finally it was determined that the Attach of ondetach event was causing the problem in IE9 When commented code works fine in IE9. But the same code works well in IE7 and IE8. The ondeatch fires of a jscript method which cleans up event heandlers on the element. Any ideas? MS says the PUBLIC:ATTACH event="ondetach" is supported in .htc files in IE9

 

Also if we have the option DISABLE Script debugging in IE option checked the error is not shown but if we open an IE window using showModalWindow the modal window ignores this option set in IE settings. This to me seems like a bug in IE9 IE9 eats the error if the IE window is no modal but does not obey the setting if window is modal

 

Thanks

Amrish

 

Continue reading...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...