Sorting on child datagrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Divya Chawla

    Sorting on child datagrid

    I have a master detail datagrid capable of expanding and
    collapsing when u click on an imagebutton. I also have
    used the Sort event handler for the child columns.
    However, when I click on a column name on the child
    datagrid, the entire datagrid (child) is collapsed . I
    want to perform sorting on child datagrid keeping it
    expanded. All expanded/collapse code for master detail
    datagrid is in the Datagrid_Itemco mmand handler. For the
    Datagrid_sortco mmand handler, I perform databind eg.
    DataBind(e.Sort expression)

    Can some please help? What can I do to maintain the state
    of child datagrid as expanded
Working...