How to validate a datagrid (in edit mode)?

Discussion in 'ASP .Net' started by Ante Perkovic, Jun 24, 2003.

  1. Hi,

    I'm trying to validate datagrid, but the problem is that textboxes
    exist only when the datagrid is in the edit mode, so validators can't
    find their "controlToValidate". I tried to put validators in
    <EditItemTemplate> but that didn't work either.

    I tried experimenting with setting both "Visible" and "Enabled"
    property to true or false during various event handlers but nothing
    works :((

    Anybody with tested solution around? Idea maybe?

    Please help,

    Ante
     
    Ante Perkovic, Jun 24, 2003
    #1
    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. Schultz
    Replies:
    3
    Views:
    576
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  2. ibiza
    Replies:
    7
    Views:
    39,846
    jasonHall
    Jan 11, 2011
  3. Frank Kurka
    Replies:
    8
    Views:
    319
  4. Jaime Stuardo

    GridView control enters edit mode when I click Edit link twice

    Jaime Stuardo, Apr 7, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    417
    Jaime Stuardo
    Apr 7, 2006
  5. jobs at webdos
    Replies:
    0
    Views:
    490
    jobs at webdos
    Oct 9, 2006
Loading...

Share This Page