| Author: Anuraj 22 Oct 2009 | Member Level: Diamond | Rating: Points: 1 |
Check this link
http://msdn.microsoft.com/en-us/library/ms536912%28VS.85%29.aspx
Thanks Anuraj THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS. BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT. dotnetthoghts
|
| Author: Alwyn 22 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
I rectified the issue.
Problem was, my below control didn't fire for the first time.
<select id = "abc" onchange = "showAlphabets()" runat="server">
i added javascript like the below and it's working.
<select id = "abc" onchange = "Javascript:showAlphabets()" runat="server">
whenever a control has a same event in both server and client side, we need to mention javascript: before the function.
Thanks & Regards, Alwyn. Jesus saves! The rest of us better make backups.
|
| Author: Chandra Shekar.Y 22 Oct 2009 | Member Level: Gold | Rating: Points: 1 |
Hi
Do you want default value to be selected in the drop down based on the selection, do you want the event to be fired?
if that is the case you need to set the selectedindex of the default value you set. This will fire the onchange event for the drop down.
|
| Author: Alwyn 22 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
u r wrong chandra, please read my question once and my Reply on how i rectified that issue.
Thanks & Regards, Alwyn. Jesus saves! The rest of us better make backups.
|