Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 11-05-2009, 01:20 PM
MegaBearsFan
Newsgroup Contributor
 
Posts: n/a
Possible Bug - ASP disables checkbox AND span it is in.

Hi, since I can't find a place to report bugs in IE8, I am posting this here.

When an ASP.Net disables a checkbox on a webpage, if this page is being run
in IE8, the span that is created to contain the checkbox is also disabled. If
you have client-side scripts (such as javascript) on the page that enable or
disable the checkbox, you will also have to re-enable the parent span.

i.e.
javascript code for IE7, Firefox, etc:
"var chkbox = document.getElementById(<%checkbox1.ClientID%>);
chkbox.disabled = false;"

will have to be modified:
"var chkbox = document.getElementById(<%checkbox1.ClientID%>);
chkbox.disabled = false;
chkbox.parentNode.disabled = false;"

in order for the checkbox to be properly re-enabled.

Remember, this error only occurs if the checkbox is disabled in the ASP.Net
code behind.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/communities...plorer.general
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 11-05-2009, 01:20 PM
  #2 (permalink)  
Old 11-05-2009, 01:50 PM
PA Bear [MS MVP]
Newsgroup Contributor
 
Posts: n/a
Re: Possible Bug - ASP disables checkbox AND span it is in.

[We saw your first post.]

MegaBearsFan wrote:
> Hi, since I can't find a place to report bugs in IE8, I am posting this
> here...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Welcome Center - can't get rid of it (checkbox is missing!) William Dowell Windows Vista 2 07-23-2008 10:31 AM
The Gay U.S. Senator Is On C-Span 3 Right Now, Just FYI. kevpan815 Windows Vista 54 05-19-2008 08:50 PM
checkbox onChange delay Rolly Internet Explorer 0 01-09-2008 07:20 PM
No Checkbox Problem Widdy Microsoft OneNote 6 08-08-2007 01:30 PM
2003 MO forms and checkbox help climbingthewall Microsoft Office 0 02-23-2007 12:05 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 04:35 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0