Rotator itemtemplate shifted right

2 posts, 0 answers
  1. SonicImaging
    SonicImaging avatar
    88 posts
    Member since:
    Jan 2007

    Posted 01 Oct 2008 Link to this post

    hi,  im working with a AutomaticAdvance rotator thats sitting in a table cell. Anything in the item template gets shifted to the right and cutoff about 10 pixels so there the a blank space on the left about 10 pixels,  it is wrapping like I want just shifted,  Ive also changed the scroll direction same thing.

    If I put a border around the containing tables cell its correct but if I put one around the itemtemplate it is also shifted.  text in the table cell without the rotator is flush up against the left.  here is the code

    The rotator height and width is the same as the TD and the same as teh item width and hight.  ive tried changes these with no luck.  if I change the item width to only 10px the width is 10 pixes but there is still a 10px gap on the left.

    I also set the css class of the rotator to padding 0, margin 0 and border 0 !important,  still same thing

    plus if I put the text in a table or div inside the itemtemplate it wraps on the right ok but still has the gap on the left.

    please help....

    Thanks
    -Keith

                <telerik:RadRotator WrapFrames="false" BackColor="#9c9c9c" ID="RR1" runat="server" height="158px" width="192px" 
                  RotatorType="AutomaticAdvance" ScrollDirection="Up" InitialItemIndex="0" scrollduration="500" frameduration="4000"  
                  itemheight="158px" itemwidth="192px" datasourceid="LDSDYN1" > 
                <ItemTemplate> 
                THIS IS SOME TEST TEXT TO SEE WHY ITS CUTTING OFF on the right 
                </ItemTemplate> 
                </telerik:RadRotator> 
                </td> 

  2. SonicImaging
    SonicImaging avatar
    88 posts
    Member since:
    Jan 2007

    Posted 01 Oct 2008 Link to this post

    Ha ha,

    Found it,  I had a declaration for LI in my CSS and Thats hows its being built

    nevermind,

    Thanks
    -Keith
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top