Hello,
I've developed an application using winForm Q1 2010 (on VS2008, .Net3.5);
Today I've installed the version Q2 2010 SP2, but I've found some differences.
#Question1:
In version 2010 Q1 the gridview was very smart:after re-assigning the datasource, the grid remembers the "old" selected
row and automatically re-select the row.
In the new version(2010 Q2 SP2) this behaviour seems different, the grid selects the first row.
Do you have changed something about that? How can I re-activate the behaviuor?
#Question2:
Following this page (http://goo.gl/PM8T) I've "upgraded" my app (1 solution, 5 projects, about 20 grids),
but now some grids (not all of them!!) have lost the settings (e.g. the showRowHeaderColumn property)and the skin: did you have ever seen something like that?
I really can't find any differences in the grids (all of them have the same properties).
I've readed this forum, founding nothing about: do you have any advice for me?
Thanks in advance
Francesco
Private Sub CustomerGridView_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CustomerGridView.ValueChanged If CustomerGridView.CurrentRow IsNot Nothing AndAlso Me.CustomerGridView.Columns(COL_customerType).IsCurrent Then Dim editor = TryCast(sender, RadDropDownListEditor) If editor IsNot Nothing Then Dim editorElement = TryCast(editor.EditorElement, RadDropDownListEditorElement) If editorElement IsNot Nothing Then Dim selectedItem = TryCast(editorElement.SelectedItem.DataBoundItem, CustomerType) If selectedItem IsNot Nothing The Dim currentCustomer = TryCast(CustomerGridView.CurrentRow.DataBoundItem, Customer) Customer.CustomerTypeId = selectedItem.CustomerTypeId End If End If End If End If End Subprivate void grid_CellEndEdit(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e) { if (grid.CurrentCell.ColumnIndex == 5) { grid.CurrentRow.Cells[6].Value = maksharga * (int)grid.CurrentRow.Cells[5].Value; } }