How do I get or set the value of a webdropdown control?
drpSerach.Items[index].Enabled = false;
Hi Angel,
Is there anywhere I can read up more about set_currentvalue() ? What is the proper syntax for using it?
I get an error "Object doesn't support this property or method."
Thanks,
Deep.
My WebDropDown has multi-select checkbox enabled. I have default selection initalized (more than 2 items) in the code-behind page_load event. How do I reflect the input textbox with the selected values?
What values should I pass to set_currentValue() when multiple items are selected? I would appreciate your response!
Hi Shashank,
The function should do exactly this - return the current value that's normally the same as the one in the input box. Which properties do you have enabled in the control - for example what are the values for EnableAutoCompleteFirstMatch, and EnableAutoFiltering? At which point do you check what the current value is?
Thanks for the feedback,
Angel
Hello,
The client side method get_currentValue() is not returning me the text I enter, when it does not match any of the items.
I need a method to do this.
Shashank