Javascript not called in OnClientTabSelected

4 posts, 0 answers
  1. Jake
    Jake avatar
    10 posts
    Member since:
    Sep 2006

    Posted 11 Jul 2008 Link to this post

    I have a RadTabStrip in which I call a javascript function like OnClientTabSelected="jsFunction"

    When the page loads, all but the first tab are hidden and jsFunction is called just fine. Then, when other tabs are enabled and visible like

    Tab.Visible = enable;
    Tab.Enabled = enable;

    jsFunction does not get called when a tab gets clicked. What is the best way to correct this?

    Thanks.
  2. Yana
    Admin
    Yana avatar
    5030 posts

    Posted 14 Jul 2008 Link to this post

    Hi Jake,

    Thank you for contacting us.

    I tested the described situation and wasn't able to see the problem.
    Please check out the attached project for a reference.  In case this doesn't help, open a support ticket and send us a running project illustrating the problem.


    Best wishes,
    Yana
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Jake
    Jake avatar
    10 posts
    Member since:
    Sep 2006

    Posted 14 Jul 2008 Link to this post

    Hello Yana,

    I forgot to mention that the tabs are contained within a RadAjaxPanel.

    Thank you.
  4. Yana
    Admin
    Yana avatar
    5030 posts

    Posted 15 Jul 2008 Link to this post

    Hi Jake,

    I tested the project again, this time with RadTabStrip contained in RadAjaxPanel and still wasn't able to see the problem. Please find attached the modified project. Could you send us your project, so we can test it locally? You should open a support ticket to send us files.

    All the best,
    Yana
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top