J
JesperGJensen
I need to select a date from a list of possible dates. I do this
through a Repeater
<asp:Repeater>
<ItemTemplate>
<RadioButton OnCheckedChanged="rptSelect_Changed">
<asp:Label> a date </asp:Label>
</ItemTemplate
</asp:Repeater>
In my current testcase there are 7 days to choose from. I use the
rptSelect_Changed function to handle the selection Serverside.
But how do i attach the date information to each RadioButton?
Currently i can only get basic RadioButton object. But this
radiobutton object does not know which date it represents.
When i did something similar with LinkButtons in a repeater i used
CommandArgument to attach the information.
How do i attach information to a radiobutton in this setup?
through a Repeater
<asp:Repeater>
<ItemTemplate>
<RadioButton OnCheckedChanged="rptSelect_Changed">
<asp:Label> a date </asp:Label>
</ItemTemplate
</asp:Repeater>
In my current testcase there are 7 days to choose from. I use the
rptSelect_Changed function to handle the selection Serverside.
But how do i attach the date information to each RadioButton?
Currently i can only get basic RadioButton object. But this
radiobutton object does not know which date it represents.
When i did something similar with LinkButtons in a repeater i used
CommandArgument to attach the information.
How do i attach information to a radiobutton in this setup?