PDA

View Full Version : [CLOSED] Combo refresh problem



hidaextnet
Jul 24, 2013, 9:25 AM
Hi,
I've defined a store for combo and on page load sets the data source of store (DataTable). It works fine but the combo refresh button is not refreshing and also its not maintaining its viewstate. How can I fix this ?

Daniil
Jul 24, 2013, 12:44 PM
Hi @hidaextnet,


Hi,the combo refresh button is not refreshing

If you mean a PagingToolbar's Refresh Button, then you should define an OnReadData handler for the Store, as here:
http://examples2.ext.net/#/GridPanel/ArrayGrid/ArrayWithPaging/


also its not maintaining its viewstate

ViewState is disabled by default in Ext.NET and we recommend not to use it if possible.

To enable you can set up:

<ext:ResourceManager runat="server" DisableViewState="false" />