•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 402,036 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,457 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 15168 | Replies: 8
•
•
Join Date: Jul 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hi
I would like to run a javascript function (to confirm deletion) from a web control (asp:button) before posting back to the same page.
I have read about how to do this in several places (mybutton.attributes.add... )
However, the fact that I have asp.net validation controls on my page means that I automatically end up with two onclick attributes in my HTML and the javascript function is not called.
Has anybody encountered (and hopefully solved) this?
Thanks in advance
Duncan
I would like to run a javascript function (to confirm deletion) from a web control (asp:button) before posting back to the same page.
I have read about how to do this in several places (mybutton.attributes.add... )
However, the fact that I have asp.net validation controls on my page means that I automatically end up with two onclick attributes in my HTML and the javascript function is not called.
Has anybody encountered (and hopefully solved) this?
Thanks in advance
Duncan
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- variables from javascript in asp.net (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: .Net development environment bug w/ asp code?
- Next Thread: converting vb6 to asp.net



Threaded Mode