Regarding validations from different page

Posted by Praveen7k under Regular Expressions on 2/28/2011 | Points: 10 | Views : 944 | Status : [Member] | Replies : 4
Hi everyone,
i have 2 pages 1) default.aspx in this i have 2 dropdowns and 2 textboxes
2) webform1.aspx here is 'submit' button
when i click 'submit' in webform1.aspx page validations to performed for 2 dropdowns and 2 textboxes in default.aspx page
how can i achieve this .....if possible use customvalidator




Responses

Posted by: Madhu.b.rokkam on: 2/28/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
you can specify each one with a separate validation control so that when you click submit it validates all the controls

Thanks and Regards
Madhu

Praveen7k, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 3/1/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi

u validates all the controls in default.aspx page . . on Submit Button Click . .

Best Regard's
Prabhakar

Praveen7k, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: T.saravanan on: 3/1/2011 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi,

To get previous page controls value into the current page then check your validations
For reference..http://www.developerfusion.com/code/4687/cross-page-postbacks-in-aspnet-20/

else create one public method in default.aspx page, create an instance of that page in webform1.aspx page call the public method in this page for your validations.

Try this...


Thanks,
T.Saravanan

Praveen7k, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Praveen7k on: 3/1/2011 [Member] Starter | Points: 25

Up
0
Down
Thanks all...how can i achieve this one using javascript or custom validator (client side) ...can anyone give a sample.........

Praveen7k, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response