RADRotator Inside AJAX Tab Container

8 posts, 0 answers
  1. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 16 Jul 2009 Link to this post

    Hi,

    As a newbie to the RAD controls having just recently purchased them i am having issues displaying a RAD Rotator XML Feed inside an AJAX tab container. The first tab contains the XML feed in the rotator, the second tab has a rad textbox (which i can see no probs), I just cannot view the XML feed on the page, yet if i view source the content is definitely there from the XML feed.....is there any issue that i dont know about using the RAD Rotator XML Feed with AJAX tab container? The rad rotator work without the tab containers being on the same page.

     
    <div id="page_content_home">  
            &nbsp;  
        <cc1:TabContainer ID="tcHomePage" runat="server" CssClass="sales_tabs_home" ActiveTabIndex="0">  
              
            <cc1:TabPanel ID="tpNews" runat="server">  
                <contenttemplate><br /> 
                <telerik:RadRotator ID="RadRotator1" runat="server" DataSourceID="xmlDataSource1" ScrollDirection="Up" ScrollDuration="2000" Width="450px" Height="330px"   
                 FrameDuration="1" InitialItemIndex="-1">  
                     <ItemTemplate> 
                                <div class="newsFeed">  
                                    <href='<%# XPath("link") %>'>  
                                        <%# System.Web.HttpUtility.HtmlEncode(XPath("title").ToString())%> 
                                    </a> 
                                    <br /><%# XPath("description") %><br /> 
                                    <%# XPath("pubDate") %> 
                                </div> 
                            </ItemTemplate> 
     
                </telerik:RadRotator> 
              
                          
                  
                </contenttemplate> 
                <headertemplate>News</headertemplate> 
            </cc1:TabPanel> 
              
            <cc1:TabPanel ID="tpMatchInfo" runat="server">  
                <contenttemplate> <br /> 
                    <telerik:RadTextBox ID="RadTextBox1" runat="server" Text="radtextbox" Width="125px">  
                    </telerik:RadTextBox><br /> 
                    This will be the latest match information  
                </contenttemplate> 
                <headertemplate>Match Info</headertemplate> 
            </cc1:TabPanel> 
              
            <cc1:TabPanel ID="tpLatestPredictions" runat="server" > 
                <contenttemplate> <br /><br /> 
                    This the latest match prediction from users                 
                </contenttemplate> 
                <headertemplate>Latest Predictions</headertemplate> 
            </cc1:TabPanel> 
              
            <cc1:TabPanel ID="tpComments" runat="server" > 
                <contenttemplate><br /><br /> 
                    This is the latest comments from users  
                </contenttemplate> 
                <headertemplate>Supporter Comments</headertemplate> 
            </cc1:TabPanel> 
              
      
              
              
           
                             
            
              
         
               
                
                
                
           
        </cc1:TabContainer> 
           
                <asp:XmlDataSource ID="xmlDataSource1" XPath="rss/channel/item" runat="server" DataFile="http://www.finning.co.uk/rss/">  
                    </asp:XmlDataSource> 
    </div>     

     

  2. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 16 Jul 2009 Link to this post

    Hi,

    I have just tried to apply the RadTapStrip and then have a RadRotator inside this but exactly the same situation arises as before.....no information from the RSS feed appears on screen but when i view source all the RSS feed is evidently present.

    Confused :)
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 18 Jul 2009 Link to this post

    any response from telerik? Is this a bug?
  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 21 Jul 2009 Link to this post

    Hi Karl,

    I used the provided code with a slight modification, but I was not able to reproduce the issue (I attached a screencapture of my test). The only difference in my project, from the code you provided, is that I added two additional properties in the RadRotator's declaration - ItemWidth and ItemHeight (the rotator was working without the properties being set, as well). These properties are important, and I recommend you set them in order to make the RadRotator control work correctly.
    In this case, could you please open a new support ticket and send us a sample that reproduces the issue or modify the attached test project? Once I have a better view over the problem I will do my best to provide a working solution.

    Best wishes,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 21 Jul 2009 Link to this post

    Hi Fiko....Many thanks for your response.

    I have tried setting the item width and item height and still the content of the rss feed via xml does not show within the rad rotator....and again the content is shown when i view source of the file.

    One thing i perhaps did not mention is that there is a master page involved and within this sits the tab container and therein the rad rotator.

    How do i go about attaching files for you to review? I have some screen shots and then the view source information as well as the default.aspx file.

    I have submitted a support ticket for this.
  7. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 23 Jul 2009 Link to this post

    Hello Karl,

    You could not attach files to a forum thread.
    I have handled your support ticket and found the files, thank you.

    Best wishes,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Khurram
    Khurram avatar
    1 posts
    Member since:
    Jan 2011

    Posted 12 Feb 2011 Link to this post

    I have the same problem... it doesn't work under the Ajax Panel.
  9. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 16 Feb 2011 Link to this post

    Hello Karl,
    Unfortunately, we were not able to find the cause for the problem that Karl reported here. I checked the support thread that Fiko mentioned here, but there was no solution mentioned there as well - I suppose that Karl found a solution by himself at some point. That is why, could you please open a new support ticket and send us a simple running project that demonstrates your problem?

    Kind regards,
    Tsvetie
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017