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

ScrollIntoView

3 Answers 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Srinivas Chavali
Top achievements
Rank 1
Srinivas Chavali asked on 26 Mar 2010, 02:48 PM

Hi

We are facing a problem with Grid control.

We are having Grid with Row details.
We are opening the row details and modifying the values in it. After modifying we need to save the data. After Saving the data, We will get complete object which should rebind data to grid.

Our problem:
After rebinding the grid, we need to show the row details columns which was expanded before.

If the user tries this scenario without scrolling the grid down or for the first time it is working fine.

If the user selects the row by scrolling down, after rebinding the row is getting closing. We tried to expand the row as follows

private void TDataGrid_RowLoaded(object sender, RowLoadedEventArgs e)

{

PaymentDetailSummary rowValue = e.Row.DataContext as PaymentDetailSummary;

if (toggledEmploymentId > 0 && rowValue.EmploymentID == toggledEmploymentId && EmployeeDetails.Items.Count > 0)

{

GridViewGroupRow groupRow = (GridViewGroupRow)this.EmployeeDetails.ItemContainerGenerator.ContainerFromIndex(groupIndex);

GridViewRow row = (GridViewRow)groupRow.ItemContainerGenerator.ContainerFromIndex(groupRowIndex);

if (row != null)

{

row.IsSelected = true;

row.DetailsVisibility = Visibility.Visible;

EmployeeDetails.ScrollIntoView(row);

}

toggledEmploymentId = 0;

}

}

Could you please help us.

We are using the following Version "2009_3_1208".

Regards
Srinivas

3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 31 Mar 2010, 04:21 PM
Hello Srinivas Chavali,

Could you please open a separate support ticket and send us a sample project that reproduces this behavior.

Make sure you are using the latest binaries, since the ones that you mention are pretty old and we have made a lot if improvements since then.

Looking forward to hearing from you.

Kind regards,
Ross
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Srinivas Chavali
Top achievements
Rank 1
answered on 08 Apr 2010, 02:51 PM
Hi

I tried to download the latest version. But could not able to find the exact location(as all zips are providing the binaries and zip files).

Could you please tell us the exact location from where we can download the complete instalation file(.mis)

Thanks and Regards
Srinivas
0
Hristo
Telerik team
answered on 08 Apr 2010, 05:06 PM
Hello Srinivas Chavali,

We do not ship complete installation with our latest internal builds - only the DLLs. You can find them for download under your account here.

You might find it useful to have a look at our online help article discussing how to upgrade your version using only DLLs here.

Kind regards,
Hristo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Srinivas Chavali
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Srinivas Chavali
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or