+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / radRotator and style:position

radRotator and style:position

4 posts, 0 answered
  1. Andrew
    Andrew avatar
    202 posts
    Registered:
    05 Jun 2009
    03 Aug 2009
    Link to this post
    I am having a bit of a weird problem.
    It's weird because it worked for a short time and then it stopped with no changes to the code.

    What i am doing is putting two divs that are layered over each other in a radRotator. Like this:

     

    <telerik:RadRotator ID="uxContentRotator" runat="server" Skin="Office2007" ScrollDirection="Up">  
    <ItemTemplate> 
    <div id="barkerPanel" runat="server" style="position:relative">  
    <div id="barkerBackground" runat="server" style="position:absolute">  
    <asp:Image ID="uxImage" runat="server"/>  
    </div> 
    <div id="barkerText" runat="server" style="position:absolute">  
    <asp:Label ID="uxContent" runat="server"></asp:Label> 
    </div> 
    </div> 
    </ItemTemplate> 
    </telerik:RadRotator> 
     


    Using the "style:position" in this way works just fine in a .NET page without sitefinity and radRotator.

    However it does not work in sitefinity using radRotator. Not sure if it's problem with one or the other.

    What is the weirdest thing is that it worked for a short time and then it stopped. Don't know, why. And not 100% sure when.

    Does anyone know what this could be? Or perhaps there is a different way i need to style this when using the rotator?

  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    06 Aug 2009
    Link to this post
    Hi Andrew,

    If I should be honest, I think the problems somewhere from the page templates. Since the Rotator renders CSS styles, and there seems to be the problem, then I do not think the issue is related to something in Sitefinity. 

    Perhaps you can send us some screenshots, or provide us with a live url? We would be glad to inspect the issue.

    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  3. Andrew
    Andrew avatar
    202 posts
    Registered:
    05 Jun 2009
    18 Aug 2009
    Link to this post
    I have made some changes and managed to get it to work.

     

    <telerik:RadRotator id="uxContentRotator" runat="server" skin="Office2007" scrolldirection="Up">  
    <ItemTemplate> 
    <div id="barkerBackground" runat="server">  
    <asp:Image ID="uxImage" runat="server" /> 
    </div> 
    <div id="barkerText" runat="server" style="position: absolute">  
    <asp:Label ID="uxContent" runat="server"></asp:Label> 
    </div> 
    </ItemTemplate> 
    </telerik:RadRotator> 
     

     

    As you can see i changed it so that only the text itself is set to position:absolute. And it apear to work now.
    I have no idea why though. Hopefully it will be ok for now.
    The site will be up any day now. And if there are any other problems i can then demonstrate on a life site.

    Thanks

     

  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    21 Aug 2009
    Link to this post
    Hello Andrew,

    I am glad that everything is fine now.
    Please let us know if you have any other questions.

    Sincerely yours,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
Register for webinar
4 posts, 0 answered