[thelist] [ASP.NET] CHECKED attribute of radio button -- problemsetting it within asp repeater
Jason Handby
jasonh at corestar.co.uk
Thu Apr 14 08:40:27 CDT 2005
Hi Jonathan,
Thanks for your reply.
> Have your dataset use either true or false rather than "CHECKED".
>
> Then, do something like
>
> Checked=<%# Container.DataItem("IsActiveChecked") %>
I tried that -- it doesn't work. The browser interprets "Checked=anything"
as being the same as "Checked". It seems that only the presence of the
attribute "Checked" counts, not what it's set to.
Jason
More information about the thelist
mailing list