Archive for the ‘Dropdown List’ Category
How to search string in the DropdownList Control
Posted by: admin in ASP.Net, Dropdown List on October 24th, 2010
-
-
function searchString(sText as String)
-
dim li as ListItem
-
-
li = dropdownlist1.Items.FindByValue(sText);
-
-
if li isnot nothing then
-
-
li.selected = True
-
-
end if
-
-
-
end function
Dropdown List event not firing
Posted by: admin in .NET, Dropdown List on June 18th, 2010
Just make sure to set the AutoPostBack = true.