RadMenu Transparent

2 posts, 0 answers
  1. BrianS
    BrianS avatar
    25 posts
    Member since:
    Sep 2006

    Posted 21 Dec 2011 Link to this post

    My RadMenu displays over a textbox which currently has the focus. The blinking caret shows thru the menu. How do i prevent this?

    <telerik:RadMenu ID="RadMenuUserFormsList" runat="server" Skin="Telerik" Style="z-index: 800"
         OnClientItemClicked="OnClientItemClicked" >
        <Items>
            <telerik:RadMenuItem Text="New" Value="NewForm"  Enabled="true" PostBack="false" Visible="true" >
                <Items>                                  
                </Items>
            </telerik:RadMenuItem>
        </Items>
        <CollapseAnimation Type="None" />
        <ExpandAnimation Type="None" />
    </telerik:RadMenu>

    private void InitializeMenu()
    {
        var FormTypes = GlobalController.GetFormTypeList();
        int i = 1;
        RadMenuItem NewFormMenu = RadMenuUserFormsList.FindItemByValue("NewForm");
     
        // add menu items
        FormTypes.ToList<LovItem>().ForEach(delegate(LovItem item)
        {
            RadMenuItem MenuItem = new RadMenuItem();
            MenuItem.Text = item.Value;
            MenuItem.Text = i.ToString();
            i++;               
            MenuItem.Target = "_blank";               
            NewFormMenu.Items.Add(MenuItem);
        });
     
    }
  2. jumpstart
    jumpstart avatar
    479 posts
    Member since:
    Nov 2011

    Posted 21 Dec 2011 Link to this post

    I don't know if this would help you, but it appears that the TextBox exposes a CaretBrush property which you can use to change the color of the caret.

    See How to change the cursor's color? forum post.

    Cheers!
Back to Top