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

Tab click event is not fired in RadTabStrip

1 Answer 141 Views
This is a migrated thread and some comments may be shown as answers.
Manisha Shivjiani
Top achievements
Rank 1
Manisha Shivjiani asked on 30 May 2012, 09:17 PM
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.

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 04 Jun 2012, 11:59 AM
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.
Asked by
Manisha Shivjiani
Top achievements
Rank 1
Answers by
Telerik team
Share this question