[thelist] .NET: help with a form parsing script

Casey Crookston caseyc at IntelliSoftmn.com
Wed Nov 29 13:11:05 CST 2006



-----Original Message-----

If you check your generated HTML you see:

<input id="How_0" type="checkbox" name="How:0" /><label for="How_0">FPC
Magazine Add</label>

Acording to the Help file, in your code you want something like this:

<asp:ListItem Text="Blue" Value="#0000FF" />

-----------------------

Right. Of course I'm aware of that.  But this:

<asp:checkboxlist id="color" runat="server">
<asp:ListItem Text="Blue" Value="Blue" />
</asp:checkbox>

Get's converted in the HTML to this:

<input id="color_0" type="checkbox" name="color:0" />

This does me no good.  I need it to be this:

<input id="color_0" type="checkbox" name="Blue" />

Is there some way to over-ride?  Or am I looking at the the wrong way?

Thanks, Casey





More information about the thelist mailing list