Ask a Question related to ASP.NET General, Design and Development.
-
Child #1
More Stupid Questions: CheckboxList
I am using my checkboxlist as a display of true/false values, not to enter data. Is there
some way to access in code which list items are selected?
Example:
<asp:checkboxlist
id="cblist"
runat="server"
cellpadding="5"
cellspacing="5"
repeatcolumns="3"
repeatdirection="horizontal"
repeatlayout="table"
textalign="right">
<asp:listitem value="">Federal</asp:listitem>
<asp:listitem value="">State</asp:listitem>
<asp:listitem value="">Tribal</asp:listitem>
</asp:checkboxlist>
If the db record indicated that federal was true how can I in a routine select it? Or do I
need to find a different method to display this data?
--
BethF, Anchorage, AK
It's YOUR God.
They are YOUR rules.
YOU burn in hell.
Child Guest
-
I must ask really hard, or really stupid questions.
Last week I posted two questions, one on http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid... -
Extend CheckBoxList
I'd write a UserControl that contains the CheckBoxList and the Textbox.... "MoeJoe" <anonymous@discussions.microsoft.com> wrote in message... -
CheckBoxList
When I put a CheckBoxList on a web form and then populate it, it grows longer. The behavior I wold like would be more like the Windows Forms... -
How to prevent changes to CheckBoxList
Hello. Can anyone tell me if there is ANY way to prevent the user changing the values in a checkboxlist. I just want to use it for information... -
checkboxlist control
Why don't you keep one of the checkbox selected on load. -- Regards Khan Imran "buran" <buran@buran.com> wrote in message... -
Child #2
Re: More Stupid Questions: CheckboxList
"David Wier" <dwier@nospamASPNet101.com> wrote in
news:OMnjwXeXDHA.2384@TK2MSFTNGP10.phx.gbl:
> Check this out:
> [url]http://aspnet101.com/aspnet101/aspnet/codesample.aspx?code=cblMultiple[/url]
Thanks.
--
BethF, Anchorage, AK
It's YOUR God.
They are YOUR rules.
YOU burn in hell.
Child Guest



Reply With Quote

