Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
How can I change the cellPadding of an UltraWebMenu ?
posted

Hi,

I'm using the UltraWebMenu (part of the Infragistics 3.5 ASP.Net controls (version 9.2.20092.1003)).

How can I change the value of the "cellpadding" property for the HTML table rendered by the control ?

<table width='100%' cellpadding='2' cellspacing='0' id='ctl27_1' igTag='5'  class="  ig_9ad86024_r2"style=" margin:0px 0px 0px 0px ; padding:0px 0px 0px 0px ;  cursor: hand;"  ighovimage='http://localhost/webnavigator/Objective.gif' igChildId='ctl27_1M' igTop='1'>

I would like to set the cellpadding to 0.

Thanks in advance,

Yanick

Parents
  • 49378
    Verified Answer
    posted

    Hi ymongeau,

    In order to change the padding of the UltraWebMenu, you can use the ItemPaddingSubMenus and ItemPaddingTop properties of the control. For instance:


    <ignav:UltraWebMenu ID="UltraWebMenu1" runat="server" ItemPaddingSubMenus="0"
    ItemPaddingTop="0">

    Please tell me if this helps.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://www.infragistics.com/support

     

Reply Children
No Data