protected void RadAjaxManager1_AjaxRequest(object sender,Telerik.Web.UI.AjaxRequestEventArgs e)
{
if (e.Argument == string.Empty)
{
populategrid();
}
string[] editedItemIds = e.Argument.Split(':');
int i;
for (i = 0; i <= editedItemIds.Length - 2; i++)
{
int Rowindex =Convert.ToInt32(editedItemIds[i]);
int ID =0;
ID = Convert.ToInt32(RadGrid1.MasterTableView.DataKeyValues[Rowindex]["id"]);
}
}
my need is to update and insert data in rad grid by batch updating . For inserting created new rows and get the row index using
script. how i will get find control of text box by row index. How i handle inserting and updating by the above code. does any issue occurs or it will work fine. if there is any easy way please reply urgent.
{
if (e.Argument == string.Empty)
{
populategrid();
}
string[] editedItemIds = e.Argument.Split(':');
int i;
for (i = 0; i <= editedItemIds.Length - 2; i++)
{
int Rowindex =Convert.ToInt32(editedItemIds[i]);
int ID =0;
ID = Convert.ToInt32(RadGrid1.MasterTableView.DataKeyValues[Rowindex]["id"]);
}
}
my need is to update and insert data in rad grid by batch updating . For inserting created new rows and get the row index using
script. how i will get find control of text box by row index. How i handle inserting and updating by the above code. does any issue occurs or it will work fine. if there is any easy way please reply urgent.