when control move from first dropdownlist, the second dropdownlist load the values from sql data base,based on first dropdownlist... . that is if i select one country name in first dropdownlist, the second dropdownlist load the state names based on country name.... where i write coding..that is in which event... and also i want coding..
is lost focus avilable in asp.net
Collapse
X
-
You want to use the client side onblur event for lost focus. Some ajax with jquery would probably work nice for what you are doing. -
Send you code?
<input onblur="alert(' lost focus');" />
Something like that.
Here is the jquery on blur api.
You can also use the OnSelectedIndex Changed change on the combobox making sure to set autopostback to true but you should try to do use ajax and make async on client.Comment
Comment