| | |
onClick code behind not getting called--Firefox
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2009
Posts: 5
Reputation:
Solved Threads: 0
Hey Guys,
I am trying to call codebehind onclick event from my markup from Firefox works find in IE. I hv created an image button and onClientClick I m calling a javascript function after checking some fields it should call onClick event in code behind but unfortunately its not, Please help.
I am trying to call codebehind onclick event from my markup from Firefox works find in IE. I hv created an image button and onClientClick I m calling a javascript function after checking some fields it should call onClick event in code behind but unfortunately its not, Please help.
ASP Syntax (Toggle Plain Text)
<asp:ImageButton ID="SubmitChanges" runat="server" ImageUrl="../images/btn_images/btn_large_submitchanges_ng.gif" OnClientClick="return DoEdits();" /> html function DoEdits(){ //check fields return true; } cde behind Public Sub SubmitChanges_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles SubmitChanges.Click ' code to process. End Sub
Last edited by peter_budo; May 25th, 2009 at 4:24 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
You should ask this question over in the .net forum....
------------------------------------------------------------
If you see no coffee in my immediate vicinity, speak slowly and use small words....
ConnectNL Directory | Blog
If you see no coffee in my immediate vicinity, speak slowly and use small words....
ConnectNL Directory | Blog
![]() |
Similar Threads
- javascript code not workign in firefox (JavaScript / DHTML / AJAX)
- Help me out with this imple code pls (JavaScript / DHTML / AJAX)
- Problem with javascript code in Mozilla firefox. (JavaScript / DHTML / AJAX)
- javascript code not working in firefox (JavaScript / DHTML / AJAX)
- Javascript problems onClick and calcuations (JavaScript / DHTML / AJAX)
- I hate Firefox! (JavaScript / DHTML / AJAX)
- Javascript and Firefox ISSUES (JavaScript / DHTML / AJAX)
Other Threads in the ASP Forum
- Previous Thread: ASP and VS2008
- Next Thread: save as draft option
| Thread Tools | Search this Thread |
Tag cloud for ASP
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection calendar changeable connection current database databaseconnection diagnostics dreamweaver excel fso html iis microsoft msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption server single specfic sqlserver sqlserverconnection toolkit web webserver windows7





