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

menu item template has misplaced graphics

3 Answers 37 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 17 Apr 2009, 04:10 PM
Hi, I have 1 menu item that contains 3 tree view controls that I populate. I am using the itemtemplate for this. My problem is that some of the graphics for the skin are misplaced and are appearing in wrong spots in the menu and I would like to know how to stop this from happening. A sample screenshot can be found here: http://www.flickr.com/photos/ddgaylor/3450584428/

The grid is defined here:
<telerik:RadMenu ID="rmMain" runat="server" CollapseDelay="0" Width="98px" Skin="Telerik" >
    <CollapseAnimation Type="InBounce" Duration="0"></CollapseAnimation>
    <Items>
 <telerik:RadMenuItem Text="Actions&nbsp;<img src='images/ddarrow.gif' border='0' />">
     <Items>
  <telerik:RadMenuItem >
      <ItemTemplate>
   <div>
       <table cellpadding="10">
    <tr>
        <td valign="top">
     <asp:TreeView ID="tvTree" runat="server" ShowExpandCollapse="False" EnableClientScript="False"
         PopulateNodesFromClient="False">
     </asp:TreeView>
        </td>
        <td valign="top">
     <asp:TreeView ID="tvTree2" runat="server" ShowExpandCollapse="False" EnableClientScript="False"
         PopulateNodesFromClient="False">
     </asp:TreeView>
        </td>
        <td valign="top">
     <asp:TreeView ID="tvTree3" runat="server" ShowExpandCollapse="False" EnableClientScript="False"
         PopulateNodesFromClient="False">
     </asp:TreeView>
        </td>
    </tr>
       </table>
   </div>
      </ItemTemplate>
  </telerik:RadMenuItem>
     </Items>
 </telerik:RadMenuItem>
    </Items>
    <ExpandAnimation Type="None" Duration="0"></ExpandAnimation>
</telerik:RadMenu>

Thanks.

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 20 Apr 2009, 11:32 AM
Hi Darren,

I tried to reproduced your issue using the 2009.1 402 version to no avail. Please find attached my web site. Could you please open a support ticket and attach your version of the project? Thanks.

Kind regards,
Albert
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
Darren
Top achievements
Rank 1
answered on 20 Apr 2009, 03:43 PM
Hi Albert, you didn't add enough nodes to the menu. If you double the number of nodes you will see the problem. Thanks.
0
Kamen Bundev
Telerik team
answered on 23 Apr 2009, 12:26 PM
Hi Darren,

This issue was fixed and will appear starting with the next internal build. As a workaround add this CSS to your project to fix it:
.RadMenu div.rmText
{
    background: transparent;
}

All the best,
Kamen Bundev
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.
Tags
Menu
Asked by
Darren
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Darren
Top achievements
Rank 1
Kamen Bundev
Telerik team
Share this question
or