This is a migrated thread and some comments may be shown as answers.

RadGrid EditMode

2 Answers 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prabha
Top achievements
Rank 1
Prabha asked on 12 Aug 2014, 08:13 AM
Hai All,

consider that , i am having one radcombo and one radgrid. if i will change the item in combo means, the appropriate data will load in radgrid.
 
In my radgrid , i have used inline EditItemTemplate.  if i will click (2nd row) edit column means,that row become edit mode. Now i am going to change the comboitem. so that the data in grid will change in comboselectedIndexchange even. But still the 2nd row in edit mode . i have used grid.rebind() too.


how to refresh the row mode when i will reload the grid?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 12 Aug 2014, 09:17 AM
Hi Prabha,

You can close the edit form on the OnSelectedIndexChanged event of the RadComboBox.

C#:
protected void ddlNames_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
{
    grdSample.MasterTableView.ClearEditItems();
    grdSample.Rebind();
}

Thanks,
Shinu
0
Prabha
Top achievements
Rank 1
answered on 12 Aug 2014, 10:36 AM
hi Shinu,

its working fine. thank you.
Tags
Grid
Asked by
Prabha
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Prabha
Top achievements
Rank 1
Share this question
or