Jump to content

asp.net 2.0 & client side scripting


abu_dayya

Recommended Posts

Hello everyone ..I know this might be an old topic, but i just can't seem to get it working.how can i use a javascript function to run with my asp.net2.0/c# project. All i want to do is display a confirm pop-up to check some insertion or deletion in the DB. I know i have to use ClientScript.RegisterClientScriptBlock, the problem is i don't know how to use that method properly, and i got lost in the MSDN.Lets say i have some textboxes to be filled, then when the user clickes on the asp:Button i want the Button1_clicked method to do some validation checking, then display the confirm pop-up to ask " are you sure you want to insert to DB". If anyone can show me some code i would realy appreciate it.Thanks in advanceAbu_Dayya

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...