RadTabStrip TabClick Event Ajax

4 posts, 1 answers
  1. Lasly
    Lasly avatar
    115 posts
    Member since:
    Nov 2009

    Posted 12 Oct 2011 Link to this post

    I'm using RadTabStrip control into a MasterPage.
    I need to use the TabClick event only in two tabs, so I've set the tab's PostBack property to true.
    Now my event is fired, but in async mode, why? I'm not including my TabStrip into RadAjaxPanel or UpdatePanel.

    To work around this problem in the Page_Init event (aspx Page_Init) I've registered the control RadTabStrip as PostbackControl with the method ScriptManager.RegisterPostBackControl(...), this works only SYNC postback, when I do a ASYNC postback, the RadTabStrip control works as ASYNC control.

    Can you help me?
    Best Regards
  2. Kevin
    Kevin avatar
    360 posts
    Member since:
    Jul 2012

    Posted 14 Oct 2011 Link to this post

    Hello Lasly,

    Can you show us what your page markup looks like? The RadTabStrip would only perform an Ajax request if it or it's parent is enclosed inside an UpdatePanel/RadAjaxPanel or using RadAjaxManager.
  3. DevCraft R3 2016 release webinar banner
  4. Lasly
    Lasly avatar
    115 posts
    Member since:
    Nov 2009

    Posted 14 Oct 2011 Link to this post

    I'm not using RadAjaxManager for this control and the parent object is not included into RadAjaxPanel or UpdatePanel.

    This is my MasterPage
    <form id="frmGestioneLocazioni" runat="server">
            <asp:ScriptManager ID="scriptManager" runat="server" EnablePartialRendering="true">
            <telerik:RadAjaxManager ID="ajaxManager" runat="server">
                <ClientEvents OnRequestStart="OnRequestStart" />
            <telerik:RadAjaxLoadingPanel ID="pnlLoading" runat="server">
            <asp:ContentPlaceHolder ID="contentGestioneLocazioni" runat="server">

    and this my ASPX page:
    <asp:Content ContentPlaceHolderID="contentGestioneLocazioni" ID="cntContratti" runat="server">
        <table border="0" style="width: 100%; height: 100%;" cellpadding="0" cellspacing="0">
                <td class="toolbar">
                    <telerik:RadTabStrip ID="stripGestioneLocazioni" runat="server" CausesValidation="false" 
                          MultiPageID="pagesGestioneLocazioni" OnTabClick="stripGestioneLocazioni_TabClick">
                    <%-- ontabclick="stripGestioneLocazioni_TabClick" : CL TEMP, da rivedere perchè fa postback completa --%>

    NOTE: In RequestStart event I check if my request are sent by DownloadButton
  5. Answer
    Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 17 Oct 2011 Link to this post

    Hi Lasly,

    Please open a support ticket and provide a sample page with the issue being reproduced so we could test it locally in order to find a solution.

    Dimitar Terziev
    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