How to enable and disable a single row in a datagrid?

Discussion in 'ASP .Net Datagrid Control' started by ashan, Jul 22, 2006.

  1. ashan

    ashan Guest

    Is there's a way to do this? I want to have control over the
    enabling/disabling of a single row...

    Any help will be appreciated...
     
    ashan, Jul 22, 2006
    #1
    1. Advertisements

  2. ashan

    ashan Guest

    Anyone?



    ashan wrote:
    > Is there's a way to do this? I want to have control over the
    > enabling/disabling of a single row...
    >
    > Any help will be appreciated...
     
    ashan, Jul 23, 2006
    #2
    1. Advertisements

  3. Yes, you need to handle RowDataBound event. This event fires for every
    singlr row. In the event handler you can check the relevant conditions and
    set the row properies.

    --
    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]

    "ashan" <> wrote in message
    news:...
    > Is there's a way to do this? I want to have control over the
    > enabling/disabling of a single row...
    >
    > Any help will be appreciated...
    >
     
    Eliyahu Goldin, Jul 23, 2006
    #3
    1. Advertisements

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. Patrick
    Replies:
    1
    Views:
    769
  2. Randall Parker
    Replies:
    1
    Views:
    646
    S. Justin Gengo
    Dec 12, 2005
  3. misiek
    Replies:
    7
    Views:
    50,737
    Sri123
    Apr 8, 2011
  4. Mel
    Replies:
    1
    Views:
    1,244
    Larry Bud
    Jul 30, 2007
  5. Kevin
    Replies:
    2
    Views:
    291
Loading...

Share This Page