Disable Control In Datagrid Footer!

Discussion in 'ASP .Net' started by Adam Knight, Sep 12, 2005.

  1. Adam Knight

    Adam Knight Guest

    Hi,

    I am asked a similar question previously, but found the response didn't
    really answer my question

    I have a datagrid which has data entry controls in its footer.

    What would be the best way to disable these controls.

    In my world i would love to simply go.
    dgGrid.Footer.Columns(0).Controls(1).Enabled = True

    Unforntunately for me, this isn't how it works!
     
    Adam Knight, Sep 12, 2005
    #1
    1. Advertising

  2. Try using ItemDataBound or ItemCreated event. In the event you can catch the
    footer as an item with ItemType=Footer.

    Eliyahu

    "Adam Knight" <> wrote in message
    news:%23Xj%...
    > Hi,
    >
    > I am asked a similar question previously, but found the response didn't
    > really answer my question
    >
    > I have a datagrid which has data entry controls in its footer.
    >
    > What would be the best way to disable these controls.
    >
    > In my world i would love to simply go.
    > dgGrid.Footer.Columns(0).Controls(1).Enabled = True
    >
    > Unforntunately for me, this isn't how it works!
    >
    >
     
    Eliyahu Goldin, Sep 12, 2005
    #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. Darren Spooner

    remove a control from a datagrid footer

    Darren Spooner, Oct 14, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    350
    Alvin Bruney
    Oct 15, 2003
  2. Chamindu R Munasinghe

    ASP.NET User control in Datagrid Footer

    Chamindu R Munasinghe, Jan 9, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    1,013
    Peter Blum
    Jan 10, 2004
  3. Sebastian

    DataGrid and footer control validation

    Sebastian, Apr 19, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    532
    Peter Blum
    Apr 19, 2004
  4. Replies:
    2
    Views:
    816
  5. Henrik
    Replies:
    1
    Views:
    433
    Ken Cox [Microsoft MVP]
    Jul 6, 2006
Loading...

Share This Page