Home Search Member List Faq Register Login  
UltimateTabstrip
TabStrip Unresponsive After UltimateAjax Callback

Thread Starter: steve.kane   Started: 10-13-2009 10:14 AM   Replies: 3
 Karamasoft Support Forums » General Discussions » UltimateTabstrip » TabStrip Unresponsive After UltimateAjax Callback
 Printable Version    « Previous Thread   Next Thread »
  13 Oct 2009, 10:14 AM
steve.kane is not online. Last active: 10/14/2009 12:33:50 PM steve.kane

Not Ranked
Joined on 10-13-2009
Posts 2
TabStrip Unresponsive After UltimateAjax Callback
Hello,

I am trying to implement a content rotator with the UltimateAjax and UltimateTabStrip.  When the Ajax panel does an auto call back after 3 seconds, I want to set the active tab index to the next tab.  I have this working OK, but once the UltimateAjax control posts back after 3 seconds, the tab strip becomes unresponsive and I cannot select any tab.  Code is listed below.  Any help would be appreciated.

<kswc:UltimateAjax ID="UltimateAjaxPanelRotator" runat="server" Height="150px" Width="250px" AutoCallbackInterval="3000" oncallback="UltimateAjaxPanelRotator_Callback">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:HiddenField ID="HiddenFieldIndex" runat="server" Value="0" />
<kswc:UltimateTabstrip ID="UltimateTabstrip1" runat="server" IncludeDirectory="~/Include/UltimateTabstripInclude/"><Tabs>
<kswc:Tab HeaderText="Tab 1">
<ContentTemplate>Content 1</ContentTemplate>
</kswc:Tab>
<kswc:Tab HeaderText="Tab 2">
<ContentTemplate>Content 2</ContentTemplate>
</kswc:Tab>
<kswc:Tab HeaderText="Tab 3">
<ContentTemplate>Content 3</ContentTemplate>
</kswc:Tab>
</Tabs>
</kswc:UltimateTabstrip>
</
kswc:UltimateAjax>


  
  13 Oct 2009, 3:55 PM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: TabStrip Unresponsive After UltimateAjax Callback
We need to see your page code-behind to be able to try it in our test environment to see what might be causing the issue. If you send us a self-contained web app having this issue, we can try it in our test environment.
  
  14 Oct 2009, 7:19 AM
steve.kane is not online. Last active: 10/14/2009 12:33:50 PM steve.kane

Not Ranked
Joined on 10-13-2009
Posts 2
Re: TabStrip Unresponsive After UltimateAjax Callback
Here is the code-behind.

protected void UltimateAjaxPanelRotator_Callback(object sender, Karamasoft.WebControls.UltimateAjax.CallbackEventArgs e)
{
      TextBox1.Text =
DateTime.Now.ToString();

      if (UltimateTabstrip1.Tabs.Count > 0)
      {
            int index = Convert.ToInt32(HiddenFieldIndex.Value);

            if (index == UltimateTabstrip1.Tabs.Count - 1)
                  index = 0;
            else
               index++;

            UltimateTabstrip1.ActiveTabIndex = index;
            HiddenFieldIndex.Value = index.ToString();
      }
}


  
  16 Oct 2009, 11:27 AM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: TabStrip Unresponsive After UltimateAjax Callback
We tried your code in our test environment but couldn't reproduce the behavior. We tested it on Win 2003 and IE 7. What is operating system and the web browser you are testing on? Are you using the latest version of UltimateAjax and UltimateTabstrip controls?
  
 Page 1 of 1 (4 items)
Karamasoft Support Forums » General Discussions » UltimateTabstrip » TabStrip Unresponsive After UltimateAjax Callback

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.