We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Vertical Line within Menu

hi, i have tried to set a vertical Line (Separator) between my Items in a MenuItem (Navigation-Menu).

i used a Div-Tag but bacome an Error: that <div> is not allowed within a Syncfusion.Web.UI.WebControls.Tools.MenuControl.Panel. can you tell me how can fix this Problem.


1 Reply

ME Meena Syncfusion Team December 11, 2012 05:34 AM UTC

Hi Hayssam,

Thanks for contacting Syncfusion forums and sorry for the delay in getting back to you.

Please refer the below online samples which meet your requirement of displaying the vertical lines between menu items.

http://asp.syncfusion.com/demos/ui/tools/Menu/XMLStreamBinding/cs/xmlstreambinding.aspx

http://asp.syncfusion.com/demos/ui/tools/Menu/ProgrammaticMenuCreation/cs/ProgrammaticMenuCreation.aspx

We suggest you to customize the CSS as done in the above samples instead of using <div> tags for menu items.

Please let us know if you have any other concerns.

Regards,

Meena


Loader.
Live Chat Icon For mobile
Up arrow icon