disabling buttons while in edit mode

Discussion in 'ASP .Net Datagrid Control' started by Ravi Gudlavalleti, Jun 14, 2004.

  1. Hi,

    I have a datagrid with a few rows.
    I need to disable the "edit" and "delete" buttons on other rows while I am
    editing a row.

    Is that possible? How can I do that?

    If possible I would like restrict the user from hitting any buttons other
    than the ones in edit mode - OK, Cancel or Delete
    including the browser navigation buttons.


    Thanks in advance.
     
    Ravi Gudlavalleti, Jun 14, 2004
    #1
    1. Advertising

  2. Ravi Gudlavalleti

    Rick Spiewak Guest

    You can do this in the itemcreated event for the edit item, by finding the
    other controls and disabling them. I'm not sure how or if you can do
    anything about the browser navigation buttons at that point.

    "Ravi Gudlavalleti" <> wrote in message
    news:40ce0d48$...
    > Hi,
    >
    > I have a datagrid with a few rows.
    > I need to disable the "edit" and "delete" buttons on other rows while I am
    > editing a row.
    >
    > Is that possible? How can I do that?
    >
    > If possible I would like restrict the user from hitting any buttons other
    > than the ones in edit mode - OK, Cancel or Delete
    > including the browser navigation buttons.
    >
    >
    > Thanks in advance.
    >
    >
     
    Rick Spiewak, Jun 22, 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. =?Utf-8?B?R2FyeQ==?=
    Replies:
    2
    Views:
    461
    Wasi Rehman
    Oct 29, 2004
  2. John J Lee
    Replies:
    3
    Views:
    487
    bruno at modulix
    Dec 1, 2005
  3. Frank Kurka
    Replies:
    8
    Views:
    312
  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:
    398
    Jaime Stuardo
    Apr 7, 2006
  5. jobs at webdos
    Replies:
    0
    Views:
    473
    jobs at webdos
    Oct 9, 2006
Loading...

Share This Page