Hello,
Let me be more clear about my problem.
I have a dropdownlist server control. I have written SelectedIndexCh ange
method for this. Now I also need to write a javascript function which
has a confirmation message in it for the same SelectedIndexCh ange
method.
I wrote it like this
mDrpCounties.At tributes.Add("o nchange", "CheckAlert();" )
I noticed one thing here..The first time when the selectedIndexCh ange
method is called the javascript doesn't fire. but the second time when
its done, javascript fires.
Why is that??? Can you tell me??
I tried to do RegisterStartup Script,Register ClientScriptBlo ck but
nothing is working.
Thanks
MBhat
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!