Extending Gridview to handle grouping.

Discussion in 'ASP .Net Web Controls' started by andrew, Mar 30, 2006.

  1. andrew

    andrew Guest

    I've been working on a new control that inherits gridview. The
    properties are extended to take a grouping parameter. When the
    gridview binds it is suppose to sort on the grouped field name and add
    rows whenever the value of this field changes giving the apperance of
    grouping. What i have works great on a fresh page load but gets all
    screwed up on postbacks. I've searched all the gridview events and
    can't seem to find one that allows me to rework the databind on each
    pageload/postback. I'm curious if anyone has any ideas about this.
    I've been using the OnRowDataBound event and PerformDataBinding but
    they are failing me. Any ideas, suggestions where to look, events to
    use? Maybe i need to consider working from the datasource level? Even
    though i'd like my new control to work just like the original gridview.
    Thanks for any input to my adventure. If anyone is interested in
    seeing source i'd be happy to share. Thanks guys.
     
    andrew, Mar 30, 2006
    #1
    1. Advertising

  2. andrew

    Guest

    , Mar 31, 2006
    #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. Michael Ekstrand
    Replies:
    0
    Views:
    344
    Michael Ekstrand
    Aug 8, 2005
  2. andrew

    Extending Gridview to handle grouping.

    andrew, Mar 30, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    296
    Teemu Keiski
    Mar 31, 2006
  3. Polly

    Grouping data in a Gridview

    Polly, Jan 11, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    117
    Polly
    Jan 11, 2005
  4. andrew

    Extending Gridview to handle grouping.

    andrew, Mar 30, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    122
    andrew
    Mar 30, 2006
  5. Gridview-Grouping data

    , Apr 30, 2008, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    143
Loading...

Share This Page