CheckBoxList ListItem not checked when using FireFox?

C

clintonG

When selected="true" is declared in the CheckBoxList ListItem FireFox does
not display checked list items. Even more curious is the absence of the
checked="checked" attribute in the source which is present and generated
when the page is requested using IE.

Confusing. Anything I can do?

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
 
G

Guest

Could you clarify your use of CheckBoxList? You're mixing ASP.NET and HTML
in your question. I would suggest redirecting this question to an ASP.NET
newsgroup or forum (like http://forums.asp.net/).
 
C

clintonG

Thanks for caring to respond Peter but the problem has resolved itself which
sometimes occurs for reasons I sometimes understand and other times not. For
posterity...

I'm using a series of checkboxes with an <asp:CheckBoxList /> control and in
the HTML source the <asp:ListItem selected="true" /> attribute was used on
some list items. All items appear checked when viewed with IE7 but not when
viewed with FF2.

After loading in IE7 and viewing source (of the returned page) the
checked="checked" attribute was shown as expected. After loading in FF2 and
viewing source there was no presence of the checked="checked" attribute
which these ASP.NET controls are supposed to generate.

Again, loading the project a couple of days later the anomaly appears to
have resolved itself.

--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top