ListSearch works fine finding a specific item on a dropdownlist, but doesn't fire an AutoPostBack event when I tab over (or tab out).
I found this 3rd party add-on control that does exactly what I'm looking for, but was wondering if there's a similar dropdownlist available from Microsoft.
Check out the "Contact Information" section.
http://samples.asplib.net/AspLibSamples/ComboBox.aspx
Also, any easy way to display the prompt text "left" of the dropdownlist. Apparently, there are only two options: top or bottom.
Thanks.
Hi,
You can use the following code to force a postback when the dropdownlist losts focus.
string script = ClientScript.GetPostBackEventReference(DropDownList1, "");
DropDownList1.Attributes.Add("onblur", script);
Hope this helps.
That did the trick! Thanks!!
No comments:
Post a Comment