Hello,
Let me be more clear about my problem.
I have a dropdownlist server control. I have written SelectedIndexChange
method for this. Now I also need to write a javascript function which
has a confirmation message in it for the same SelectedIndexChange
method.
I wrote it like this
mDrpCounties.Attributes.Add("onchange", "CheckAlert();")
I noticed one thing here..The first time when the selectedIndexChange
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 RegisterStartupScript,RegisterClientScriptBlock but
nothing is working.
Thanks
MBhat
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!