Mar 25, 2011, 5:37 AM
[CLOSED] Server Side Menu Item in bold font
Hi,
We are using Ext.Net 1.5.1 SVN Revision 3492. We have to deploy VS.Net 2008 and IIS 7 on windows server 2008 and
right now we are developing and testing only for IE8.
We have written code at server side as below to prepare menu control (for look and feel like outlook)
We have to display font in bold for menu items, following code is not gives expected result.
This menu is XML/Data driven
Client Side
Thanks
With regards
Niraj Dave
We are using Ext.Net 1.5.1 SVN Revision 3492. We have to deploy VS.Net 2008 and IIS 7 on windows server 2008 and
right now we are developing and testing only for IE8.
We have written code at server side as below to prepare menu control (for look and feel like outlook)
We have to display font in bold for menu items, following code is not gives expected result.
This menu is XML/Data driven
Client Side
<style type="text/css">
.menu-name
{
font-weight: bold;
font-size: 12px;
}
</style>
Server SidemnuItemProSales = new Ext.Net.MenuItem();
mnuItemProSales.Text = xNodeRow.Attributes["name"].Value;
//mnuItemProSales.Style.Add("font-weight", "bold"); //ND
mnuItemProSales.Attributes.CssStyle.Add("font-weight", "bold"); //ND
mnuItemProSales.Attributes.CssStyle.Value = "font-weight:bold";
mnuItemProSales.ItemCls = "menu-name"; (If we add this line then menu is not display like vertical buttons with image as per outlook
but display in flat list)
Please guide us. how to achieve this requirement.Thanks
With regards
Niraj Dave
Last edited by Daniil; Mar 25, 2011 at 12:52 PM.
Reason: Please use [CODE] tags, [CLOSED]