I am having a wierd issue.
I am currently using web dropdown having multi select check box enabled.
After binding data source to the web dropdown, by default always the first value in the web drop down is checked.
I don't want the first value in the multiselect web dropdown checked by default.
Can you please provide me work around on the above issue.
Trails i made:
------------------
I tried by calling ClearSelection() of the web dropdown in some event.
I also tried by calling the unselect() event of the item(first value in the dropdown) through client side, but once some post back happens on the page again, the first value in the dropdown got checked by default.
But, the above trails could not provide me solution.
Provide me the solution,
Hi again, kpavan,
Add the following property when declaring your WebDropDown, and you will have blank value initially:
CurrentValue=""
I hope this helps!
Hello,
Your solution only works when
DisplayMode = DropDown
However, if you set DisplayMode = DropDownList then CurrentValue="" DOES NOT work !
How can I make it work with DisplayMode = DropDownList ?
Please Respond
How can I make it work with DisplayMode = DropDown ?
Please Respond.