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

[Solved] How to set focus to a row in GridView?

5 Answers 203 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
kalyan gupta
Top achievements
Rank 1
kalyan gupta asked on 24 Aug 2010, 09:43 AM
Hi @

I am using SL 4, VS 2010. Also I am using Telerik Silverlight Controls in my Application.

I am displaying Telrik GridView in one of my component. I want to set focus to a particular Row say 56th row out of 100 rows being displayed.

Also on click of button i want to focus some other row.

Please help me how to achieve this.

Thanks in advance
Kalyan Gupta B

5 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 24 Aug 2010, 11:12 AM
Hi kalyan gupta,

 Please find attached a sample solution.

Sincerely yours,
Yavor Georgiev
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
kalyan gupta
Top achievements
Rank 1
answered on 24 Aug 2010, 01:32 PM
Hi I am using RadDataPager also along with RadGrid.

Can i set focus to the other page row??

Please let me know if this is possible.

Thanks in advance.
0
Yavor Georgiev
Telerik team
answered on 24 Aug 2010, 01:35 PM
Hi kalyan gupta,

 I'm afraid you'll have to calculate on which page the row you need is, go to that page and then continue with the code from the demo.

Regards,
Yavor Georgiev
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
kalyan gupta
Top achievements
Rank 1
answered on 24 Aug 2010, 01:38 PM
How to set the current page of Rad Data Pager??

For example if Data Pager is displaying 15 pages and some how I know that I have to focus the row in last page then how will i set that 15th page as current page??
0
Yavor Georgiev
Telerik team
answered on 24 Aug 2010, 01:40 PM
Hi kalyan gupta,

 Please check out the 'Programmatic paging' part of this help topic.

Sincerely yours,
Yavor Georgiev
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
kalyan gupta
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
kalyan gupta
Top achievements
Rank 1
Share this question
or