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

When tab is clicked set focus on field in pageview

1 Answer 71 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Beth Krawczuk
Top achievements
Rank 1
Beth Krawczuk asked on 22 Oct 2008, 02:55 AM
Hello,
I am basically implementing the LoadOnDemand tab demo with the Tab Control and the MultiPage control.  I am dynamically building the pageviews in codebehind, loading user controls.

I would like to set focus on a specific form field within each tab using Javascript.  Other than the first tab, when I view source, I don't see the rendered HTML and my javascript can't find the elements.

How do I access those form fields?

Please let me know if I need to clarify more.
Thanks for all your time.
Beth

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 24 Oct 2008, 11:44 AM
Hi Beth,

Please check the attached project based on the Load-On-Demand TadStrip demo, which shows how to access elements located in the user control. Download it and give it a try.

Regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TabStrip
Asked by
Beth Krawczuk
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or