Disable Validation

Discussion in 'ASP .Net Datagrid Control' started by Augie, Oct 1, 2003.

  1. Augie

    Augie Guest

    Is there a way to disable causes validation when the user
    clicks the update button in the grid control of the edit
    command column?
     
    Augie, Oct 1, 2003
    #1
    1. Advertising

  2. protected void myEditCommand(object sender, DataGridCommandEventArgs e)

    {

    dgdRoles.EditItemIndex = e.Item.ItemIndex;

    FillDataGrid();

    LinkButton c =
    (LinkButton)dgdRoles.Items[e.Item.ItemIndex].Cells[2].Controls[0];

    c.CausesValidation = false;

    }




    --
    The Best Regards,
    Web Developer
    Michael Tkachev


    "Augie" <> wrote in message
    news:1c6b101c3885b$4f89d3a0$...
    > Is there a way to disable causes validation when the user
    > clicks the update button in the grid control of the edit
    > command column?
     
    Michael Tkachev, Oct 3, 2003
    #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. buran
    Replies:
    2
    Views:
    1,839
    buran
    Sep 26, 2003
  2. buran
    Replies:
    0
    Views:
    504
    buran
    Sep 26, 2003
  3. Mike Hnatt
    Replies:
    2
    Views:
    455
    Saravana [MVP]
    Oct 30, 2003
  4. Dave Caton
    Replies:
    7
    Views:
    8,071
    =?Utf-8?B?SWJyYWhpbSBTaGFtZWVxdWU=?=
    Jul 15, 2004
  5. Andy G

    disable validation controls

    Andy G, Nov 4, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    3,364
    Shiva
    Nov 4, 2004
Loading...

Share This Page