Jan 17, 2011, 2:11 PM
[CLOSED] Grid delete is not working
Hi,
I am creating dynamic grid. I added dynamic delete button. Delete is working but remaining one record is not working.
I am creating dynamic grid. I added dynamic delete button. Delete is working but remaining one record is not working.
protected void SaveHandler(object sender, BeforeStoreChangedEventArgs e)
{
hdJson.Text = e.DataHandler.JsonData;
ResourceManager.GetInstance(this.Context).AddScript("grid.getStore().submitData();");
}
protected void storeSubmitData(object sender, StoreSubmitDataEventArgs e)
{
new GenericGrid().submitGridData((bt_admin_panel_user)Session[SystemVariables.SESSION_PARAMETER_USER],
GuiUtils.getGridConfigName(HttpContext.Current.Request.RawUrl), hdJson.Text);
ResourceManager.GetInstance(this.Context).AddScript("grid.reload();");
}
program doesnt enter storeSubmitData when remaining one record.
Last edited by Daniil; Jan 18, 2011 at 12:26 PM.
Reason: [CLOSED]