Datagrid Enabled = false - Not Working.

Discussion in 'ASP .Net Datagrid Control' started by Bruce Hodge, Oct 29, 2003.

  1. Bruce Hodge

    Bruce Hodge Guest

    Hi All,

    I'm using a datagrid to display and edit pricing data. The grid uses the
    LinkButtons for editing deleting etc.

    I want to lock the whole grid so that some users can only view the data not
    edit it. Thought I'd use the Datagrid.Enabled = false, but...

    When the Datagrid is set to Enabled = False it shows the grid disabled and
    the link buttons as disabled, but all the link buttons are still active
    despite being displayed as disabled?

    Bruce H
     
    Bruce Hodge, Oct 29, 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. Gabor
    Replies:
    3
    Views:
    628
    Jacob Yang [MSFT]
    Aug 26, 2003
  2. Amar
    Replies:
    0
    Views:
    552
  3. Amar
    Replies:
    0
    Views:
    224
  4. Bruce Hodge

    Enabled = false Not Working! Is this a bug?

    Bruce Hodge, Nov 4, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    185
    Bruce Hodge
    Nov 4, 2003
  5. Dave E

    Enabled set to false but still able to use datagrid

    Dave E, Jun 7, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    244
    Michelle Hlaing
    Feb 15, 2005
Loading...

Share This Page