borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (How could I access control inside the datagrid by JavaScript for my validation purpose?)Next Topic (Search using two variables) New Topic New Poll Post Reply
AndreaVB Forum : ASP.Net : How to disable postback by JavaScript
Poster Message
tri_inn
Level: Regular User
Registered: 26-08-2002
Posts: 395

icon How to disable postback by JavaScript

Say suppose I have one server control called button on my form. When some one will click on my button then a server side
Function will be called here I want to call a JavaScript function first means before calling server side function
And if my JavaScript function returns true then my form will be post to server otherwise my form will not be posted to
Server. So I want to know how could i prevent to post my form to server by JavaScript. If it is possible then please
Give me the sample code.

11-06-2004 at 09:53 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ASP.Net : How to disable postback by JavaScript
Previous Topic (How could I access control inside the datagrid by JavaScript for my validation purpose?)Next Topic (Search using two variables) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder