Wrox Programmer Forums
|
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2007, 01:01 AM
Registered User
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to vallabh53
Default HTML Button in Asp.Net

Hi,

I am vallabh, and i am having a problem with HTML button in Asp.Net.
After clicking Yes button in Confirmation, the server side method
is not executing.

The following is the code:

<script language="javascript" type="text/javascript">

function DeleteConfirm()
{
    if(confirm('Delete the current Keyword') == true)
    {
        alert('true');
        return true;
    }
    else
    {
      return false;
    }
}

</script>

<button id="btnDelete" onclick="javascript:return DeleteConfirm();" runat="server" accesskey="D" type="button" onserverclick="btnDelete_ServerClick" tabindex="-1">[u]D</u>elete</button>

Please help me if you find solution.

Thanks and Regards,
Vallabh.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Run button problem in IE 7.0 and asp.net jits.santhosh General .NET 1 September 9th, 2008 12:55 PM
Placing HTML object in ASP.NET toddw607 ASP.NET 2.0 Basics 3 April 30th, 2008 03:58 PM
How to create a button in javascript in asp.net ? coolcoder2007 ASP.NET 2.0 Basics 0 October 26th, 2007 04:14 AM
Viewing HTML in ASP.NET 2.0 rgturner ASP.NET 2.0 Professional 11 September 9th, 2007 10:04 PM
create own button in asp.net thillaiarasu ASP.NET 2.0 Professional 2 July 24th, 2007 06:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.