ParthasarathyBalan
5.2 years Experience in asp.net and sharepoint development
Search This Blog
Showing posts with label
How to Set DropDownList zero index with custom value programatically
.
Show all posts
Showing posts with label
How to Set DropDownList zero index with custom value programatically
.
Show all posts
Friday, November 20, 2015
How to Set DropDownList zero index with custom value programatically
dropdownId.Items.Insert(0, "--Select--");
dropdownId
.SelectedIndex =
dropdownId
.Items.IndexOf(
dropdownId
.Items.FindByText("--Select--"));
Older Posts
Home
Subscribe to:
Posts (Atom)