When tab is clicked set focus on field in pageview

2 posts, 0 answers
  1. Beth Krawczuk
    Beth Krawczuk avatar
    26 posts
    Member since:
    Feb 2008

    Posted 21 Oct 2008 Link to this post

    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.
  2. Yana
    Yana avatar
    4604 posts

    Posted 24 Oct 2008 Link to this post

    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.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top