Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Rotator > RadRotator does appear in sharepoint page
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered RadRotator does appear in sharepoint page

Feed from this thread
  • Aladdin Bahian avatar

    Posted on Jun 1, 2010 (permalink)

    Hello everyone,

    I created a usercontrol in my solution containing "Telerik:Radrotator". In the code behind i connect this rotator to a sharepointdatasource that reads from a list in sharepoint. Then, I add this UC to a normal aspx page that contains an asp:scriptmanager and run it. It works fine and exactly as expected.

    HOWEVER, when i copied the usercontrol to my virtual directory together with the bin files and add a web part to sharepoint page only the radrotator didn't appear. All other controls outside the rotator appears.
    I do have some other usercontrols containing RadGrid and RadMenu and it's working fine.

    Here is a copy of my class that convert UC to WP:

    using System;  
    using System.Web.UI;  
    using System.Xml.Serialization;  
    using Microsoft.SharePoint.WebPartPages;  
     
    namespace MODA.Solutions  
    {  
        [XmlRoot(Namespace = "MODA.Solutions")]  
        public class Taamem : WebPart  
        {  
            ucTaamem ucnl;
            #region Methods  
            protected override void RenderWebPart(HtmlTextWriter output)  
            {  
                try 
                {  
                    EnsureChildControls();  
                    base.RenderContents(output);  
                    //ucnl.RenderControl(output);  
                }  
                catch (Exception ex)  
                {  
                }  
     
            }  
     
            protected override void CreateChildControls()  
            {  
                try 
                {  
                    ucnl = (ucTaamem)Page.LoadControl("~/UserControls/ucTaamem.ascx");  
                    this.Controls.Add(ucnl);  
                }  
                catch (Exception ex) { }  
            }
            #endregion  
        }  
    }  
     

    Please help me ASAP. Thank You.

  • Fiko Fiko avatar

    Posted on Jun 4, 2010 (permalink)

    Hello Aladdin,

    This behavior occurs in scenarios where the RadRotator's Width, ItemWidth, Height and ItemHeight properties are not properly configured (or not set at all). I recommend you to check this KB article for more information about how to configure RadRotator control.

    Best wishes,
    Fiko
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

  • Aladdin Bahian avatar

    Posted on Jun 4, 2010 (permalink)

    Hi and thanks for your reply.

    Actually I had set those three properties before. Cause as I told before it works fine locally on an aspx page.

    Do I need to install any update or any extra asembly or add any news lines to the web.config



    Best Regards,
    Aladdin A. Bahian

  • Fiko Fiko avatar

    Posted on Jun 9, 2010 (permalink)

    Hi Aladdin,

    The control does not requires any additional entries in web.config and you should not experience any problems using it in Share point. Is it possible for you to send me a live URL where I can reproduce the issue? I need to reproduce the problem in order to provide a working solution for you.

    All the best,
    Fiko
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Rotator > RadRotator does appear in sharepoint page