Option group control now with indentation for group member
Posted on 8/24/2007 8:11:58 AM
in #ASP.NET 2.X
Hi,
Here is an update to the option control that I posted a few days ago. The control allows you to show group in dropdown list and list box control, where by the user can only select the group member and not the group header. Read this post for more detail on the usage of the control.
The control had a bug where by the options would not indent properly. The problem was in the rendering of OptGroup tag. The tags needed to end only after all the option of group have been rendered. Special thanks to Tim who pointed and also provided the code for the fix of the issue.
This time around I have also given the full source code as download. Many people asked me to give the source code, as it is difficult to use such controls in live without having the source code.
Here is the link to the download of the source code.
Vikram
|
Posted on 12/5/2008 9:43:22 PM
Do you have an online demo? Are there any limitations as to the types of DataSource controls (like an ObjectDataSource or LinqDataSource) that it can be bound to?
|
Posted on 12/9/2008 5:26:05 AM
Hi T-Mack,
I do not have any demo as of yet. But the code does not have any limitation on what datasource to work with. As said in the post I have also provided the full source code so that anyone can use it modify or upgrade the same.
|