I have a TreeView control that renders correctly on my page (style gets applied). However, if I add a context menu to the page my style does not get loaded for the TreeView (it renders as bullet points).
Note: My context menu is for a different control on the page, not for the treeview.
I am assuming this has something to do with both controls using the <ul> element, how can I have both controls on the same page without this rendering issue?
Note: My context menu is for a different control on the page, not for the treeview.
I am assuming this has something to do with both controls using the <ul> element, how can I have both controls on the same page without this rendering issue?
<
telerik:RadContextMenu
ID
=
"cm1"
runat
=
"server"
>
<
Items
>
<
telerik:RadMenuItem
Value
=
"EDIT"
ImageUrl
=
"~/images/edit.gif"
></
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Value
=
"DELETE"
ImageUrl
=
"~/images/delete.gif"
></
telerik:RadMenuItem
>
</
Items
>
<
Targets
>
<
telerik:ContextMenuControlTarget
ControlID
=
"lbtnAddNewRule"
/>
</
Targets
>
</
telerik:RadContextMenu
>
<
asp:LinkButton
ID
=
"lbtnAddNewRule"
runat
=
"server"
></
asp:LinkButton
>
<
telerik:RadTreeView
runat
=
"server"
ID
=
"tvSelectedUsersA"
Width
=
"200px"
Height
=
"200px"
Skin
=
"Default"
>
</
telerik:RadTreeView
>