How to call a C# function on the onblur event of the listbox?
I am using listbox.Attributes.Add("onblur","CSharpfuncname")..
Please Suggest
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to my knowledge you can’t do this directly(calling server side or c# function onblur event) see MSDN FOR LISTBOX when you look for events you don’t have any event relevant to focus out or on blur, to achieve this you have to implement Page Methods or Client CallBack. Look for these three links regarding Page Methods and Client CallBack hope it will help you out.
Good Luck.