OnClientTabSelected and server side AjaxRequest issue

2 posts, 0 answers
  1. blablabla
    blablabla avatar
    23 posts
    Member since:
    Jul 2011

    Posted 25 Jul 2011 Link to this post


    I have a RadTabStrip where I set the OnClientTabSelected as such:
    <telerik:RadTabStrip ID="tabstrip1" runat="server" SelectedIndex="0" MultiPageID="multipage1" OnClientTabSelected="OnSelected">

    The javascript implementation of the "OnSelected" method is the following:

    function OnSelected(sender, args) {
       var ajaxManager = $find("<%= ajax1.ClientID %>");

    A very simple implementation.
    My AjaxManager is implemented as such:

    <telerik:RadAjaxManager ID="ajax1" runat="server" OnAjaxRequest="ajax1_AjaxRequest">
                blablabla code here

    The serverside event of "AjaxRequest" has an empty implementation with a breakpoint inside.

    When I execute this code and I change tabs, the javascript function is called correctly, but the serverside event is never called.

    I tried the exact same code using a button instead of the tabstrip, and it works fine.

    I tried it with the OnClientTabSelected event, and no dice either.
    Is this a bug? Am I missing something?

    Thank you.
  2. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 27 Jul 2011 Link to this post

    Hi Blablabla,

    I've made a sample page trying to reproduce the issue, but to no avail.

    I've attached the page so you could test it on your side.

    Dimitar Terziev
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
Back to Top