Hi,
I have a page which is designed with multiple RadPanelBars.its working fine in all aspects except one scenario.
Problem :
If I am in bottom of page, and in Last panel bar,If i do a post back then the page focus will go to first radpanelbar or top of page.
how can I persist the position or focus in bottom of page even after post back
Ex this is what i want
Panel A
********
*
*
*********
Panel B
**********
*
*
**********
Panel C
**********
*
*
**********
Panel D
**********
*
*
**********
Button
As of now when I click on button page focus is going to panel A,even though I was working on Panel D.
I need focus to be in Panel D ,after post back also
Thanks,
A2H
I have a page which is designed with multiple RadPanelBars.its working fine in all aspects except one scenario.
Problem :
If I am in bottom of page, and in Last panel bar,If i do a post back then the page focus will go to first radpanelbar or top of page.
how can I persist the position or focus in bottom of page even after post back
Ex this is what i want
Panel A
********
*
*
*********
Panel B
**********
*
*
**********
Panel C
**********
*
*
**********
Panel D
**********
*
*
**********
Button
As of now when I click on button page focus is going to panel A,even though I was working on Panel D.
I need focus to be in Panel D ,after post back also
Thanks,
A2H
5 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 01 Mar 2012, 07:09 AM
0
A2H
Top achievements
Rank 1
answered on 06 Mar 2012, 05:18 AM
Hi Princy,
Thanks for ur reply.
I have gone through the link which you provided.But Unfortunately I am not able to understand how will I map this scenario to my req.
In the examble they are getting the selected item from radpanel bar and displaying it in a label.What I want is I need the focus should be in current panel even after post back.
Thanks for ur reply.
I have gone through the link which you provided.But Unfortunately I am not able to understand how will I map this scenario to my req.
In the examble they are getting the selected item from radpanel bar and displaying it in a label.What I want is I need the focus should be in current panel even after post back.
0
A2H
Top achievements
Rank 1
answered on 15 Mar 2012, 01:32 PM
Hi,
Anyone pls help me.
Thanks,
A2H
Anyone pls help me.
Thanks,
A2H
0
Hi A2H,
One way I could think of is to safe the value of the currently selected RadPanleItem in a separate variable. Then on pageLoad you can get this value and use the focus() method to return the focus to the desired item.
Regards,
Kate
the Telerik team
One way I could think of is to safe the value of the currently selected RadPanleItem in a separate variable. Then on pageLoad you can get this value and use the focus() method to return the focus to the desired item.
Regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
A2H
Top achievements
Rank 1
answered on 16 Apr 2012, 03:19 PM
Hi ,
Thanks for your Support.
I achieved the functionality using a javascript method called "ScrollintoView" methods.
I have to get reference of a control in panel item thorugh javascript code and set the above property.Works like charm :):)
Thanks for your Support.
I achieved the functionality using a javascript method called "ScrollintoView" methods.
I have to get reference of a control in panel item thorugh javascript code and set the above property.Works like charm :):)