Jul 06, 2010, 2:52 PM
Exception PageProxy in gridpanel row expander
if you build the store on the page init, compilation is ok.
but the behavior is wrong!!
grids daughters share the same store and this is not good.
protected void Page_Init(object sender, EventArgs e)
{
storepoi = new Store { ID = "StoreRow" };
Ext.Net.PageProxy gh = new Ext.Net.PageProxy();
gh.Total = WAY.Business.BusinessTarget.GetCountTargets(-1,1);
storepoi.Proxy.Add(gh);
JsonReader reader = new JsonReader();
reader.IDProperty = "ID";
reader.Fields.Add("ID", "Name");
storepoi.Reader.Add(reader);
List<object> data = new List<object>();
///storepoi.RefreshData += new Store.AjaxRefreshDataEventHandler(Store1_RefreshData);
storepoi.DataSource = WAY.Business.BusinessTarget.GetTargetsList(-1, 1, 8, 0);
this.Form.Controls.Add(storepoi);
//important
}
but the behavior is wrong!!
grids daughters share the same store and this is not good.
Last edited by geoffrey.mcgill; Jul 15, 2010 at 11:33 PM.
Reason: please use [code] tags