OnClientSelectedIndexChanged Event on a dynamically loaded tab content

3 posts, 0 answers
  1. rei
    rei avatar
    12 posts
    Member since:
    Jul 2009

    Posted 18 Aug 2009 Link to this post

    Hi,

    I have created a TabStrip where the content each tab is loaded on demand as shown on the demos. The content  of each tab is a User Control and added at runtime through the PageViewCreated event.

    Each tab loads as expected but when I tried to attach an OnClientSelectedIndexChanged event (combo1_selected ) to a combo box on the second tab it displayed a "combo1_selected" is undefined.  The script for this event is defined in the user control.

    I tried to add this user control to a separate webform and it works fine.

    Please help.

    Thank you very much,
    rei
  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 19 Aug 2009 Link to this post

    Hello rei,

    Please refer to this forum post for useful hints on the matter.

    Sincerely yours,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. rei
    rei avatar
    12 posts
    Member since:
    Jul 2009

    Posted 19 Aug 2009 Link to this post

    Thanks
Back to Top