Tab click event is not fired in RadTabStrip

2 posts, 0 answers
  1. Manisha Shivjiani
    Manisha Shivjiani avatar
    24 posts
    Member since:
    Nov 2009

    Posted 30 May 2012 Link to this post

    I am using RadControls For Ajax Q12012 SP1 version
    I am having issue with RadTabStrip - click event. It is not fired.
    Here is how the control is set up.

    <asp:XmlDataSource ID="XmlDSJATabs" runat="server" DataFile="~\App_Data\JATabStrip.xml"
        <telerik:RadTabStrip ID="testRadTabStrip" runat="server" 
        DataTextField="Text"   DataValueField="Text" DataSourceID="XmlDSJATabs" 
            SelectedIndex="0" MultiPageID="RadMPJA" 
            ontabclick="testRadTabStrip_TabClick" CausesValidation="False" 
            ClickSelectedTab="True" >
        <telerik:RadMultiPage ID="RadMPJA" runat="server">
            <telerik:RadPageView ID="RPV1" runat="server" Width="100%">
            <telerik:RadPageView ID="RPV2" runat="server" Width="100%">
            <telerik:RadPageView ID="RPV3" runat="server" Width="100%">

    Here is the xml file for xml data source.
    <?xml version="1.0" encoding="utf-8" ?>
      <Tab Text="Customer" PageViewID="RPV1"></Tab>
      <Tab Text="Product" PageViewID="RPV2"></Tab>
      <Tab Text="FAQ" PageViewID="RPV2"></Tab>

    I would appreciate help with this.
  2. Kate
    Kate avatar
    1898 posts

    Posted 04 Jun 2012 Link to this post

    Hello Manisha,

    I tested the code that you provided but I am not able to get the behavior that you describe. The click event fires as expected when a tab is clicked. Can you clarify the version of the controls that you are using since it might be a bug of some of the previous versions?

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top