Is RowCreated event good for removing columns from gridview footer?

Discussion in 'ASP .Net' started by Bogdan, Sep 29, 2008.

  1. Bogdan

    Bogdan Guest

    Hi,

    I need to modify gridview footer so it consists only of a single column that
    spans all data columns in a gridview. I first tried DataBound() event (as
    per suggestion found on the Net) but that did not always work. That is, the
    initial gridview display was fine but after selecting a row the footer's
    column count was 'restored' to the gridview's column count.
    I then tried RowCreated event and it seems to work. Is this a good place to
    do that or is it asking for trouble?

    I'd welcome any suggestions. Pointers to any on-line docs that describe a
    sequence of events fired during loading of a page that contains a gridview
    would also be appreciated.

    Thanks,
    Bogdan
    Bogdan, Sep 29, 2008
    #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. Pipo
    Replies:
    1
    Views:
    655
    Teemu Keiski
    Apr 1, 2006
  2. Replies:
    2
    Views:
    3,296
    fiendiest
    Oct 25, 2007
  3. K B
    Replies:
    1
    Views:
    12,292
    PeterKellner
    Jun 6, 2006
  4. Paul
    Replies:
    2
    Views:
    2,875
  5. louie
    Replies:
    0
    Views:
    698
    louie
    Jan 14, 2006
Loading...

Share This Page