Hi,
I have a radmenu which has top level menu items. Each toplevel menu item has submenu items in it and those submenu items have to be displayed horizontally and each item has an image associated with it.
But when we set the item flow as horizontal, Image is displayed after the text.
Image has to be displayed before the text just like as in Vertical flow.
Can you help how to achieve this ?
I have a radmenu which has top level menu items. Each toplevel menu item has submenu items in it and those submenu items have to be displayed horizontally and each item has an image associated with it.
But when we set the item flow as horizontal, Image is displayed after the text.
Image has to be displayed before the text just like as in Vertical flow.
Can you help how to achieve this ?
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
telerik:RadMenu
ID
=
"WorkFlowMenu"
runat
=
"server"
>
</
telerik:RadMenu
>
<
div
>
</
div
>
</
form
>
</
body
>
</
html
>
protected void Page_Load(object sender, EventArgs e)
{
RadMenuItem top1 = new RadMenuItem();
top1.Text = "Top 1";
top1.ImageUrl = "~/Images/NotStarted.png";
RadMenuItem child1 = new RadMenuItem();
child1.Text = "Child 1";
child1.ImageUrl = "~/Images/Completed.png";
RadMenuItem child2 = new RadMenuItem();
child2.Text = "Child 2";
child2.ImageUrl = "~/Images/Failed.png";
top1.Items.Add(child1);
top1.Items.Add(child2);
top1.GroupSettings.Flow = ItemFlow.Horizontal;
WorkFlowMenu.Items.Add(top1);
}