P
Peter
Hello,
One thing I am looking to do is to create a couple of different custom
Web Controls that can give me added options when specifying them
in an ASP.NET page. For example:
<asp:RadioButtonList id=RadioButtonList1 runat="server">
<asp:ListItem myvalue1="x" myvalue2="y">Item 1</asp:ListItem>
<asp:ListItem myvalue1="a" myvalue2="b">Item 2</asp:ListItem>
<asp:ListItem myvalue1="g" myvalue2="h">Item 3</asp:ListItem>
</asp:RadioButtonList>
What I did was to create a custom Web Control and created get/set statements
for myvalue1 and myvalue2. I actually placed the value of the DataTextField
into a HashTable so the value I was setting could be stored and retrieved
depending on the listItem and/or what was selected. I am having problems
getting
this to work. Am I concentrating on the right area to get this all to work?
Thanks,
Peter
One thing I am looking to do is to create a couple of different custom
Web Controls that can give me added options when specifying them
in an ASP.NET page. For example:
<asp:RadioButtonList id=RadioButtonList1 runat="server">
<asp:ListItem myvalue1="x" myvalue2="y">Item 1</asp:ListItem>
<asp:ListItem myvalue1="a" myvalue2="b">Item 2</asp:ListItem>
<asp:ListItem myvalue1="g" myvalue2="h">Item 3</asp:ListItem>
</asp:RadioButtonList>
What I did was to create a custom Web Control and created get/set statements
for myvalue1 and myvalue2. I actually placed the value of the DataTextField
into a HashTable so the value I was setting could be stored and retrieved
depending on the listItem and/or what was selected. I am having problems
getting
this to work. Am I concentrating on the right area to get this all to work?
Thanks,
Peter