Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   different validation areas in aspx page. (http://www.velocityreviews.com/forums/t773741-different-validation-areas-in-aspx-page.html)

Martin Marinov 07-08-2004 11:39 AM

Re: different validation areas in aspx page.
 
there is a way but is a little strange:
you can enable/diable validators and then when you call Page.Validate()
method it will validate only these validators that are enabled

Regards
Martin

"z. f." <zigi@info-scopeREMSPAM.co.il> wrote in message
news:eqlZ9lNZEHA.808@tk2msftngp13.phx.gbl...
> Hi,
>
> i have aspx page that posts to itself first time, show values related to

the
> posted data, and then post to itself second time, this time doing other
> things.
> can i validate in forst time just 2 of the input boxes while in the second
> time validate other text boxes that are on the page?
>
> TIA, z.
>
>




Teemu Keiski 07-08-2004 11:44 AM

Re: different validation areas in aspx page.
 
This feature, validation groups, is also built-in with ASP.NET v2.

There's also a commercial product by Peter Blum which gives this capability.
http://www.peterblum.com/Home.aspx

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke



"Martin Marinov" <memmarinov@mecrossroad.bg> wrote in message
news:uXyJYAOZEHA.1764@TK2MSFTNGP10.phx.gbl...
> there is a way but is a little strange:
> you can enable/diable validators and then when you call Page.Validate()
> method it will validate only these validators that are enabled
>
> Regards
> Martin
>
> "z. f." <zigi@info-scopeREMSPAM.co.il> wrote in message
> news:eqlZ9lNZEHA.808@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > i have aspx page that posts to itself first time, show values related to

> the
> > posted data, and then post to itself second time, this time doing other
> > things.
> > can i validate in forst time just 2 of the input boxes while in the

second
> > time validate other text boxes that are on the page?
> >
> > TIA, z.
> >
> >

>
>




z. f. 07-08-2004 11:48 AM

different validation areas in aspx page.
 
Hi,

i have aspx page that posts to itself first time, show values related to the
posted data, and then post to itself second time, this time doing other
things.
can i validate in forst time just 2 of the input boxes while in the second
time validate other text boxes that are on the page?

TIA, z.



Alphonse Giambrone 07-08-2004 12:11 PM

Re: different validation areas in aspx page.
 
See if this thread helps.
http://groups.google.com/groups?hl=e...D100%26hl%3Den


--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us


"z. f." <zigi@info-scopeREMSPAM.co.il> wrote in message
news:eqlZ9lNZEHA.808@tk2msftngp13.phx.gbl...
> Hi,
>
> i have aspx page that posts to itself first time, show values related to

the
> posted data, and then post to itself second time, this time doing other
> things.
> can i validate in forst time just 2 of the input boxes while in the second
> time validate other text boxes that are on the page?
>
> TIA, z.
>
>





All times are GMT. The time now is 10:20 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57