| Author: venkat 08 Sep 2008 | Member Level: Gold | Rating: Points: 1 |
Try to write the both functions in one function
|
| Author: UltimateRengan 08 Sep 2008 | Member Level: Diamond | Rating: Points: 10 |
hi,
Partial Class _Default Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Button1.Attributes.Add("onclick", "alertbox();confirmbox();") End Sub End Class
<html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script type ="text/javascript" > function alertbox() { alert("This is first function"); } function confirmbox() { confirm ("This is second function") ; } </script> </head>
UltimateRengan nathan.rengan@gmail.com Trichy-Rider Group
|
| Author: AbidiP 08 Sep 2008 | Member Level: Gold | Rating: Points: 3 |
try this
btnUpdate.Attributes.Add("onClick", "return Validation(),ThirdParty_Delete();")
bye
|
| Author: ANIL PANDEY 08 Sep 2008 | Member Level: Diamond | Rating: Points: 2 |
hi,
u can call on function in the Button click and for calling the other one , u can use the function call in the first function..
Call the Second function inside the First function.. that means if ur First Function work is Over u can call the other function from the same function....
like
function ThirdParty_Delete() {
//Perform the work u want to do
Validation(); }
hope u Got the idea..
Regards Anil Pandey
Thanks & Regards Anil Kumar Pandey
|