in rotator data display problem

1 posts, 0 answers
  1. suresh
    suresh avatar
    35 posts
    Member since:
    Dec 2006

    Posted 28 Jul 2008 Link to this post

    hi telerik team,

     i have faced the problem with telerik rotator control.. when i display text from database with shorter length then it display correctly but when we enters the long text from backend side and then try to display in frontend some text is cut and not display properly....it cutting some text....i dont know what is the problem..please give me suggetion ASAP...

    my html code is::

    <

    table width="751" border="0" cellspacing="0" cellpadding="0">

    <tr>

    <td valign="top" align="left" width="30%">

    <table width="214" border="0" cellspacing="0" cellpadding="0">

    <tr>

    <td>

    <table width="240" border="0" cellspacing="0" cellpadding="0">

    <tr>

    <td align="right" valign="bottom" width="0%" style="width: 11px">

    <img src="images/blue_top_left.gif" alt="top" /></td>

    <td valign="bottom" class="BlueTop" width="100%">

    </td>

    <td align="left" valign="bottom" width="0%">

    <img src="images/blue_top_right.gif" alt="top" /></td>

    </tr>

    <tr>

    <td>

    &nbsp;</td>

    <td align="left" style="width: 100%">

    <%

    -- asdfas--%>

    <radR:RadRotator ID="rad_rot" ScrollDirection="up" ScrollSpeed="100" UseSmoothScroll="false"

    FrameTimeout="0" Height="225" TransitionType="scroll" FramesToShow="2"

    runat="server" meta:resourcekey="rad_rotResource1">

    <FrameTemplate>

    <table width="100%" cellpadding="0" cellspacing="0" border="0">

    <tr>

    <td align="left" valign="top">

    <asp:Label ID="Label1" runat="server" ForeColor="Black" Font-Size="Small"

    Font-Names="Arial" Text='<%# DataBinder.Eval(Container.DataItem,"Description") %>'

    meta:resourcekey="Label1Resource1"></asp:Label>

    </td>

    </tr>

    <tr>

    <td align="left">

    <asp:Label ForeColor="#126869" Font-Size="Small" Font-Bold="True" Font-Names="Arial"

    ID="lb_des" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Title") %>'

    meta:resourcekey="lb_desResource1"></asp:Label>

    </td>

    </tr>

    </table>

    </FrameTemplate>

    </radR:RadRotator>

    </td>

    <td align="left" class="BlueRight">

    &nbsp;</td>

    </tr>

    <tr>

    <td align="right" valign="top" style="width: 11px">

    <img src="images/blue_btm_left.gif" alt="" /></td>

    <td valign="top" class="BlueBtm" style="width: 207px">

    </td>

    <td align="left" valign="top">

    <img src="images/blue_btm_right.gif" alt="top" /></td>

    </tr>

    <tr>

    <td height="5">

    </td>

    </tr>

    </table>

    <table width="240" border="0" cellspacing="0" cellpadding="0">

    <tr valign="top">

    <td align="right" valign="bottom" width="0%">

    <img src="images/blue_top_left.gif" alt="top" /></td>

    <td valign="bottom" class="BlueTop" style="width: 207px">

    </td>

    <td align="left" valign="bottom" width="0%">

    <img src="images/blue_top_right.gif" alt="top" /></td>

    </tr>

    <tr>

    <td align="right" class="BlueLeft">

    &nbsp;</td>

    <td align="left">

    <table width="216" border="0" cellspacing="0" cellpadding="0">

    <tr>

    <td colspan="2" height="40" class="Menu" align="left" valign="middle">

    <asp:Repeater ID="rpt_category" runat="server" OnItemCommand="rpt_category_ItemCommand1">

    <ItemTemplate>

    <table width="95%" border="0" cellpadding="0" cellspacing="0">

    <tr>

    <td height="40" class="Menu" align="left" valign="middle">

    <img src="images/icn_menu.jpg" alt="" /><asp:HiddenField ID="hdn_catid" runat="server"

    Value='<%# DataBinder.Eval(Container.DataItem,"Cat_Id") %>' />

    <a class="Menu" href='<%# getcategoryurl(DataBinder.Eval(Container.DataItem,"cat_id").ToString())%>'

    id="inner" title='<%# DataBinder.Eval(Container.DataItem,"Cat_Name") %>' runat="server">

    <%

    # DataBinder.Eval(Container.DataItem,"Cat_Name") %>

    </a>

    </td>

    </tr>

    </table>

    </ItemTemplate>

    </asp:Repeater>

    </td>

    </tr>

    <tr>

    <td align="center" valign="middle">

    <img src="images/icn_menu.jpg" alt="" /></td>

    <td height="35" align="left" valign="middle" class="Menu" style="padding-left: 4px;">

    <a class="Menu" href="" id="a_treatmentproduct" runat="server">

    <asp:Literal ID="Literal2" runat="server" Text="Personalized Treatments" meta:resourcekey="Literal2Resource1"></asp:Literal>

    </a>

    </td>

    </tr>

    <tr>

    <td class="BlueLine" style="height: 1px">

    </td>

    <td class="BlueLine" style="height: 1px">

    </td>

    </tr>

    <tr>

    <td align="center" valign="middle" height="40">

    <img src="images/icn_menu.jpg" alt="" /></td>

    <td height="35" style="padding-left: 4px;">

    <a href="" id="a_originsofhomeopathy" runat="server" class="Menu">

    <asp:Literal ID="Literal3" runat="server" Text="What Is Homeopathy?" meta:resourcekey="Literal3Resource1"></asp:Literal>

    </a>

    </td>

    </tr>

    <tr>

    <td class="BlueLine">

    </td>

    <td class="BlueLine">

    </td>

    </tr>

    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="100%">

    <tr>

    <td colspan="2" height="8">

    </td>

    </tr>

    <tr>

    <td align="center" style="height: 20px">

    <%

    --<script type="text/javascript">AC_FL_RunContent(

    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0',

    'width', '172',/**/

    'height', '72',

    'src', 'flash/button_myaccount',

    'quality', 'high',

    'pluginspage', 'https://www.macromedia.com/go/getflashplayer',

    'align', 'middle',

    'play', 'true',

    'loop', 'false',

    'scale', 'scale',

    'wmode', 'transparent',

    'devicefont', 'false',

    'id', 'flash-animations',

    'bgcolor', 'none',

    'name', 'flash/button_myaccount',

    'menu', 'false',

    'allowScriptAccess','sameDomain',

    'movie', 'flash/button_myaccount',

    'salign', ''

    ); </script>--

    %>

    <a href="" id="a_myaccount1" runat="server">

    <img id="img_myaccount" style="border: 0px;" runat="server" src="" />

    </a>

    </td>

    </tr>

    <tr>

    <td height="5">

    </td>

    </tr>

    <tr>

    <td align="center">

    <%

    --<script type="text/javascript">

    AC_FL_RunContent(

    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0',

    'width', '172',/**/

    'height', '72',

    'src', 'flash/button_shoppingcart',

    'quality', 'high',

    'pluginspage', 'https://www.macromedia.com/go/getflashplayer',

    'align', 'middle',

    'play', 'true',

    'loop', 'false',

    'scale', 'scale',

    'wmode', 'transparent',

    'devicefont', 'false',

    'id', 'flash-animations',

    'bgcolor', 'none',

    'name', 'flash/button_shoppingcart',

    'menu', 'false',

    'allowScriptAccess','sameDomain',

    'movie', 'flash/button_shoppingcart',

    'salign', ''

    );

    /*}*/

    </script>--

    %>

    <a href="" id="a_shoppingcart" runat="server">

    <img id="img_shoppingcart" style="border: 0px;" runat="server" src="" /></a>

    </td>

    </tr>

    <tr>

    <td height="5">

    </td>

    </tr>

    <tr>

    <td align="center">

    <%

    --<script type="text/javascript">

    AC_FL_RunContent(

    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0',

    'width', '172',/**/

    'height', '72',

    'src', 'flash/button_testimonial',

    'quality', 'high',

    'pluginspage', 'https://www.macromedia.com/go/getflashplayer',

    'align', 'middle',

    'play', 'true',

    'loop', 'false',

    'scale', 'scale',

    'wmode', 'transparent',

    'devicefont', 'false',

    'id', 'flash-animations',

    'bgcolor', 'none',

    'name', 'flash/button_testimonial',

    'menu', 'false',

    'allowScriptAccess','sameDomain',

    'movie', 'flash/button_testimonial',

    'salign', ''

    );

    /*}*/

    </script>--

    %>

    <a href="" id="a_testimonials" runat="server">

    <img id="img_testimonials" style="border: 0px;" runat="server" src="" /></a>

    </td>

    </tr>

    </table>

    </td>

    <td align="left" class="BlueRight">

    &nbsp;</td>

    </tr>

    <tr>

    <td align="right" valign="top">

    <img src="images/blue_btm_left.gif" /></td>

    <td valign="top" class="BlueBtm" style="width: 207px">

    </td>

    <td align="left" valign="top">

    <img src="images/blue_btm_right.gif" alt="top" /></td>

    </tr>

    </table>

    </td>

    </tr>

    <tr>

    <td height="5">

    </td>

    </tr>

    </table>

    </td>

    <td valign="top" align="center">

    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="WelcomeTable"

    id="middletable" runat="server">

    <tr>

    <td valign="top" align="center">

    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

    <asp:PlaceHolder ID="plc_cata" runat="server"></asp:PlaceHolder>

    </asp:ContentPlaceHolder>

    <%

    -- <asp:Label ID="lbl_accessMessage" runat="server" CssClass="Error"></asp:Label>--%>

    </td>

    </tr>

    </table>

    </td>

    </tr>

    </table>


    and i just get the data from database using sql query and bind the rotator .

Back to Top