|
| | |||||||
| Internet Explorer Discuss IE7 or any other IE version. |
| | LinkBack | Thread Tools |
| |||
| 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 |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| 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? |