is lost focus avilable in asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasithar
    New Member
    • Sep 2010
    • 4

    is lost focus avilable in asp.net

    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..
  • ZiadElmalki
    New Member
    • Sep 2010
    • 43

    #2
    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.

    Comment

    • sasithar
      New Member
      • Sep 2010
      • 4

      #3
      send me coding how to create client side lost focus

      Comment

      • ZiadElmalki
        New Member
        • Sep 2010
        • 43

        #4
        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

        Working...