I have a grid that I add a dynamic groupby expression that defaults as collapsed and it works fine.
However, whenever I postback the grid doesn't recall the states of which were expanded and
resets all to collapsed. I have seen in the online examples that the grid can retain this information
on postback. The only difference I can notice on the code is that the example is declared in the
ASPX page and mine in code behind. The reason that I do not declare mine in the ASPX page is
because my grid can switch datasources and gets grouped by different columns. Any ideas?
I have seen on here that some people suggest EnableViewState="True" for the grid, however,
isn't it enabled by default? Additionally, in case it matters, my grid is located in an UpdatePanel.
Let me know if anyone has any ideas? Thanks in advance.
Joshua
However, whenever I postback the grid doesn't recall the states of which were expanded and
resets all to collapsed. I have seen in the online examples that the grid can retain this information
on postback. The only difference I can notice on the code is that the example is declared in the
ASPX page and mine in code behind. The reason that I do not declare mine in the ASPX page is
because my grid can switch datasources and gets grouped by different columns. Any ideas?
I have seen on here that some people suggest EnableViewState="True" for the grid, however,
isn't it enabled by default? Additionally, in case it matters, my grid is located in an UpdatePanel.
Let me know if anyone has any ideas? Thanks in advance.
Joshua