Reputation: 12785
I have this HTML code:
<select id="dummy4" name="dummy4" class="myselectbox">
<option>....</option>
<optgroup label="Agent1">
<option>Subagent1.1</option>
<option>Subagent1.2</option>
<option>Subagent1.3</option>
<option>Subagent1.N</option>
</optgroup>
<optgroup label="Agent2">
<option>Subagent2.1</option>
<option>Subagent2.2</option>
</optgroup>
...
Is it possible to create a custom control from that?
Upvotes: 1
Views: 130
Reputation: 4900
There's a section on MSDN about this: http://msdn.microsoft.com/en-us/library/zt27tfhy.aspx
Specifically, the walkthrough looks useful: http://msdn.microsoft.com/en-us/library/yhzc935f.aspx
Upvotes: 1