Wednesday, February 22, 2012

How to add separator or section barker in to Dropdown c#

Yes,You can do it in different ways..I think simple makes life easy so follow this,
Add a list item in to dropdow disabled!!

ListItem separator = new ListItem("--------------------------------", "");
            separator.Attributes.Add("disabled", "true");


Chaeers! easy ha!:)

No comments:

Post a Comment