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

RadMenu Transparent

1 Answer 62 Views
Menu
This is a migrated thread and some comments may be shown as answers.
BrianS
Top achievements
Rank 1
BrianS asked on 21 Dec 2011, 09:22 PM
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);
    });
 
}

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 21 Dec 2011, 11:10 PM
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!
Tags
Menu
Asked by
BrianS
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or