Ravindar, Biztalk Developer and Administrator

Just another BizTalk blog

Call javascript function after validation and before a postback

1. Create javaScript function like this

function FunctionName()
if(Page_ClientValidate(‘Your ValidationGroupName’))
// Your code
return false;

2. Give same value (say, LoginGroup) to “ValidationGroup” of all validation controls and Button(cmdLogin).

3. Rewrite as follows.

4. Be delighted by seeing the output.


January 25, 2010 - Posted by | Asp.Net

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: