I have a couple of issues, but they are all related so I am putting them all in one post.
I have a form with a GridView on it showing several records. The user selects a record and opens a new form where they can edit all of the values. After saving, they return to the main form with the grid where I would like to update the grid to display the data the just edited. I want the grid to retain the current row, or rather, the row for the record they just edited.
Additionally, the user can also add a new record, so after saving and returning to the form, the grid is updated and I want the newly created record to be the current row.
I am programming in MS Visual Studio Pro 2012 version 11.0.50727
with Microsoft .NET Framework version 4.5.50938
I am coding in Visual Basic.
My Telerik version is 2014.2.715.40
My radGridView gets it's data using a DataSet, BindingSOurce, and a TableAdaptor.
My data is coming from SQL Server 10.50.2500
On form load, my gridview gets its data with this line of code:
To sum up, I want to:
A - Refresh grid and retain current row
B - Refresh grid and set current row to newly added record
I have a form with a GridView on it showing several records. The user selects a record and opens a new form where they can edit all of the values. After saving, they return to the main form with the grid where I would like to update the grid to display the data the just edited. I want the grid to retain the current row, or rather, the row for the record they just edited.
Additionally, the user can also add a new record, so after saving and returning to the form, the grid is updated and I want the newly created record to be the current row.
I am programming in MS Visual Studio Pro 2012 version 11.0.50727
with Microsoft .NET Framework version 4.5.50938
I am coding in Visual Basic.
My Telerik version is 2014.2.715.40
My radGridView gets it's data using a DataSet, BindingSOurce, and a TableAdaptor.
My data is coming from SQL Server 10.50.2500
On form load, my gridview gets its data with this line of code:
Me
.RadGridView1.DataSource =
Me
.AutoEmailerTBLTableAdapter.GetData(Environment.UserName, Environment.UserName)
To sum up, I want to:
A - Refresh grid and retain current row
B - Refresh grid and set current row to newly added record