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

Setting focus to RadPageView after enabling Tab

1 Answer 216 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Jim Harris
Top achievements
Rank 1
Jim Harris asked on 25 Jan 2010, 07:58 PM
I have a tab strip using RadMultiPage. I have two tabs defined with tab 2 starting out as disabled. When next button is clicked on tab 1 and tab 1 is validated properly tab 2 should be enabled and focus should be set to the second RadPageView for tab 2. I am able to enable tab 2 but I can not figure outhow to make the second page view current and have focus.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 27 Jan 2010, 03:30 PM
Hello Jim,

I suggest you use set_selected(true) client-side method of the pageview to make it current.  The pageview is rendered as <div> element, it cannot be focused.

Regards,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TabStrip
Asked by
Jim Harris
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or