0

i have a dropdownlist on the page, now when user does not selects anything from it, and just hit the button, i displays a warning message, but i want to make the dropdownlist in the expanded mode, after the warning is displayed.Is it possible to make the dropdownlist in expanded mode in asp.net via code.

Abbas
  • 4,948
  • 31
  • 95
  • 161

1 Answers1

0

You can not expand a Dropdown list from JavaScript neither on server side. Here is a reference to similar question asked earlier Old Question

But i did find a JavaScript hack for this which is given in the link below

Expand html select element in javascript

If this also dosent work out try some of the Jquery Plugins or AJAXControl toolkit Dropdown.

Community
  • 1
  • 1
Guru Kara
  • 6,272
  • 3
  • 39
  • 50