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

RADRotator Inside AJAX Tab Container

7 Answers 105 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 16 Jul 2009, 04:34 PM
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>     

 

7 Answers, 1 is accepted

Sort by
0
Karl
Top achievements
Rank 1
answered on 16 Jul 2009, 07:26 PM
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 :)
0
Karl
Top achievements
Rank 1
answered on 18 Jul 2009, 09:29 PM
any response from telerik? Is this a bug?
0
Fiko
Telerik team
answered on 21 Jul 2009, 03:29 PM
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.
0
Karl
Top achievements
Rank 1
answered on 21 Jul 2009, 07:25 PM
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.
0
Fiko
Telerik team
answered on 23 Jul 2009, 11:38 AM
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.
0
Khurram
Top achievements
Rank 1
answered on 12 Feb 2011, 02:55 PM
I have the same problem... it doesn't work under the Ajax Panel.
0
Tsvetie
Telerik team
answered on 16 Feb 2011, 12:15 PM
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.
Tags
Rotator
Asked by
Karl
Top achievements
Rank 1
Answers by
Karl
Top achievements
Rank 1
Fiko
Telerik team
Khurram
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or