I am binding a RadContextMenu control
![]()
to a hierarchical dataset and am having problems with literals appearing at the bottom of the menu. This only happens when the menu is set longer than the list of items. The control is rendering properly in Firefox.
ASPX Code:
Populated as follows
DataSet links = new DataSet();
adapter.Fill(links);
RadMenu1.DataTextField = "TagName";
RadMenu1.DataNavigateUrlField = "";
RadMenu1.DataFieldID = "TagId";
RadMenu1.DataFieldParentID = "TagParentId";
RadMenu1.DataSource = links;
RadMenu1.DataBind();
RadMenu1.ExpandDelay = 1;
RadMenu1.EnableRootItemScroll = false;
RadMenu1.DefaultGroupSettings.Flow = ItemFlow.Vertical;
RadMenu1.DefaultGroupSettings.Height = Unit.Pixel(200);
Note that with only a couple items added to the root level of the menu I will get the ' ' literals appearing at the end of the menu. If however the list is longer than the control, the control scrolls as desired and no extraneous characters display.