-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: _Neeraj_
Message 3 in Discussion
Hey,
at present ASP.NET will not support such scenerios where you can
select the set of validation controls to work for selected "postback"
event or the control.
So what you have to do is :
1. Write the Javascripts functions for validations.
2. Attach them to the onclick event of the buttons.
3. In your client side functions
And if you want to display the message in Validation Summary ( SHow
Message = true and Show MessageBox = false), then in the client side
treat the Validation Summary as Div and set its innerHtml and
style.display property. Something like this :
document.all('ValidationSummary1').innerHTML = strHtml;
document.all('ValidationSummary1').style.display =
"Block";
See if it works for you .
Well, grouping of Validation Controls is coming up in next release of .NET.
Regards,
Neeraj
----- Original Message -----
From: Varad_RS <[EMAIL PROTECTED]>
Date: Sat, 31 Jul 2004 15:07:04 -0700
Subject: Re: MUTLTPLE FORMS IN ASP.NET..?
To: BDOTNET <[EMAIL PROTECTED]>
New Message on BDOTNET
MUTLTPLE FORMS IN ASP.NET..?
Reply
Reply to Sender Recommend Message 2 in Discussion
From: Varad_RS
I think you can achieve this just by having <asp:Button> control
instead of Submit button. You can invoke the events for each button
and do the validations.
Regards,
Varad.
View other groups in this category.
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating |
Daily Horoscopes
To stop getting this e-mail, or change how often it arrives, go to
your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport
Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if
you received this message by mistake, please click the "Remove" link
below. On the pre-addressed e-mail message that opens, simply click
"Send". Your e-mail address will be deleted from this group's mailing
list.
Remove my e-mail address from BDOTNET.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]