I have a custom .net control like this:
<myControl:control1 ID="dimDataSource" runat="server" SelectorType="red"
EnableViewState="False" >
</myControl:control1>
I want to add a property that varies with the state of a standard html checkbox. (but if this can't be done, i'll add a .net checkbox)
So here's a checkbox:
<input type="checkbox" id="propertytoggle" >
I think the new tag should be something like this, but I can't get the syntax right:
<myControl:control1 ID="dimDataSource" runat="server" SelectorType="red"
EnableViewState="False" NewProperty="<% propertytoggle.checked %>" >
</myControl:control1>
Is this possible, and if so, what's the right syntax?
adam