different validation areas in aspx page.

Discussion in 'ASP .Net Web Controls' started by Martin Marinov, Jul 8, 2004.

  1. 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." <> wrote in message
    news:...
    > 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.
    >
    >
     
    Martin Marinov, Jul 8, 2004
    #1
    1. Advertising

  2. Martin Marinov

    Teemu Keiski Guest

    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" <> wrote in message
    news:...
    > 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." <> wrote in message
    > news:...
    > > 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, Jul 8, 2004
    #2
    1. Advertising

  3. Martin Marinov

    z. f. Guest

    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., Jul 8, 2004
    #3
  4. See if this thread helps.
    http://groups.google.com/groups?hl=...*&as_drrb=q&as_qdr=y&lr=lang_en&num=100&hl=en


    --

    Alphonse Giambrone
    Email: a-giam at customdatasolutions dot us


    "z. f." <> wrote in message
    news:...
    > 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, Jul 8, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Martin Marinov

    different validation areas in aspx page.

    Martin Marinov, Jul 8, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    810
    Alphonse Giambrone
    Jul 8, 2004
  2. MadHatter51
    Replies:
    1
    Views:
    888
    Hakan Lambracht
    May 17, 2006
  3. MaggieMagill
    Replies:
    8
    Views:
    561
    Toby Inkster
    Feb 4, 2005
  4. =?Utf-8?B?RWFnbGVSZWRASGlnaEZseWluZ0JpcmRzLmNvbQ==

    Printing ASP.NET 2.0 Page Leaves Blank Areas

    =?Utf-8?B?RWFnbGVSZWRASGlnaEZseWluZ0JpcmRzLmNvbQ==, Aug 16, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    384
    =?Utf-8?B?RWFnbGVSZWRASGlnaEZseWluZ0JpcmRzLmNvbQ==
    Nov 10, 2006
  5. Richard Lyman
    Replies:
    7
    Views:
    115
    Friedrich Dominicus
    Dec 17, 2004
Loading...

Share This Page