How to set up validators for edit mode of a datagrid?

Discussion in 'ASP .Net Datagrid Control' started by Horus Alkebulan, Jan 19, 2004.

  1. How do you set up the validators so they "watch" entries made while the
    datagrid is in edit mode?

    If a custom validator is required, is there a step-by-step available on how
    to do this? I'm kind of new to databound controls.

    Thanks!
    Horus Alkebulan, Jan 19, 2004
    #1
    1. Advertising

  2. Horus Alkebulan

    Teemu Keiski Guest

    Hi,

    I'd say that easiest way to achieve this is to use TemplateColumn and there
    put validators in EditItemTemplate. Then they'd be usable when DataGrid goes
    to
    edit mode.

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist

    "Horus Alkebulan" <> wrote in message
    news:...
    > How do you set up the validators so they "watch" entries made while the
    > datagrid is in edit mode?
    >
    > If a custom validator is required, is there a step-by-step available on
    > how
    > to do this? I'm kind of new to databound controls.
    >
    > Thanks!
    >
    >
    Teemu Keiski, Jan 19, 2004
    #2
    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. Vincent
    Replies:
    1
    Views:
    445
    Lucas Tam
    Aug 17, 2005
  2. Replies:
    2
    Views:
    4,711
    Trevor Benedict R
    Oct 22, 2005
  3. David Sagenaut

    How to set the datagrid in edit mode

    David Sagenaut, Oct 16, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    515
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    Oct 16, 2005
  4. Sharon McCarty
    Replies:
    0
    Views:
    243
    Sharon McCarty
    Nov 24, 2004
  5. Frank Kurka
    Replies:
    8
    Views:
    292
Loading...

Share This Page