Reference Datagrid Footer Control

Discussion in 'ASP .Net Datagrid Control' started by Jay, Jan 31, 2005.

  1. Jay

    Jay Guest

    In a datagrid footer, how could I programmatically set a footer textbox
    text? E.g.. the datagrid (dg1) will bind to a datareader based on a query.
    If the query does not generate any results the datagrid will appear without
    any data, just a footer containing a few textboxes for adding. One of those
    textboxes (textbox1) I want to set the .text to "something". How can this
    be accomplished?

    Basically, in a separate sub I need to set the text property of a textbox in
    a datagrid. Kind of like if you have a datagrid, button and textbox. You
    click the button and auto set the text of textbox1 (which is in the datagrid
    footer) to "something".

    Thanks a lot.

    Jay.
    Jay, Jan 31, 2005
    #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. Darren Spooner

    remove a control from a datagrid footer

    Darren Spooner, Oct 14, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    347
    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,005
    Peter Blum
    Jan 10, 2004
  3. Jay
    Replies:
    0
    Views:
    399
  4. Henrik
    Replies:
    1
    Views:
    423
    Ken Cox [Microsoft MVP]
    Jul 6, 2006
  5. Replies:
    0
    Views:
    150
Loading...

Share This Page