PDA

View Full Version : [CLOSED] MVC GridPanel Stateful not working?



bbo1971
May 02, 2012, 1:05 PM
Hi,
I'm trying to use a gridpanel in a webform view in mvc. I set the ResourceManager to use cookies

<ext:ResourceManager ID="ResourceManager1" StateProvider="Cookie" runat="server" />

And I set the gridpanel as stateful

<ext:GridPanel ID="GridPanel1" runat="server" Height="200" Flex="3" Resizable="true" Stateful="true"
Title="Revos Monitor" Frame="false" ColumnLines="true" StoreID="Store1">

But if I (manually on the client side using IE 9) hide some columns or change grouping when I refresh the page the layout doesn't remain the last configured.

Do I miss something?
Thanks
mario

Daniil
May 02, 2012, 1:35 PM
Hi,


Stateful="true"
is not rendered to client at the moment.

To force it to be rendered please replace with

XStateful="true"

It's a bug, we are investigating a possible fix.

The thread is related to this one.
http://forums.ext.net/showthread.php?18365

bbo1971
May 02, 2012, 2:38 PM
Thanks it works

Daniil
May 02, 2012, 4:44 PM
We have fixed it.
http://forums.ext.net/showthread.php?18365&p=80948&viewfull=1#post80948