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

[Solved] scroll to a row index

4 Answers 245 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hussain
Top achievements
Rank 1
Hussain asked on 23 Jun 2008, 02:37 PM
Hello,
If I have a row index #, is there a way to scroll to that index # i specify like radgrid.scrollto(index) using C#?

Thanks

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 24 Jun 2008, 05:27 AM
Hi Hussain,

Go through the following help document link.
Scrolling to the selected item

Princy.
0
Hussain
Top achievements
Rank 1
answered on 25 Jun 2008, 04:18 PM
I tried that with no such luck. What I am trying to do is, when I click the edit link for a row it loades the edit form underneath the row like it should but the radgrid scrolls all the way back to the top. I also have savescrollposition set to true. i looked at the other posts people have made but none of the solutions has worked for me. Any ideas?
0
Mishel
Top achievements
Rank 1
answered on 26 Jun 2008, 08:06 AM
Hi,

You can see this feature  in this online example:
http://www.telerik.com/demos/aspnet/prometheus/Grid/Examples/Client/Scrolling/DefaultCS.aspx

If that still does not help you can consider using cookies as shown in the following code library project:
http://www.telerik.com/community/code-library/submission/b311D-tdcmd.aspx

Also this code shows how to use the row index to get the scroll to a particular row:
radGridView1.GridElement.ScrollToRow(#);
0
Hussain
Top achievements
Rank 1
answered on 26 Jun 2008, 05:55 PM
my radgrid doesnt have a property called gridelement.
is a radgrid and radgridview 2 different things?
Tags
Grid
Asked by
Hussain
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Hussain
Top achievements
Rank 1
Mishel
Top achievements
Rank 1
Share this question
or