I'm using the RadMenu control for my web application and it works perfectly for every link on the site except for one. When a user clicks the Ticket link it opens fine in a new tab just like it should. They can then go about doing data entry tasks and saving information on the page. The problem is if they click the Ticket link, enter a bunch of data and then click the Ticket link again it does not open a new tab. It opens in the same tab all of their data entry is lost for the prior ticket they were working on. This only seems to happen with IE8 and it works fine with Firefox but 90% of our users are working with IE8 and I suspect the bug is with the browser but needless to say I still need a work around for it. I've provided a screen shot and sample code for how I'm binding the control.
<telerik:RadMenu ID="RadMenu1" runat="server" Skin="Web20" EnableEmbeddedSkins="true" |
EnableEmbeddedBaseStylesheet="true" Flow="Horizontal" Width="100%" OnItemDataBound="RadMenu1_ItemDataBound" > |
<DataBindings> |
<telerik:RadMenuItemBinding TextField="Link" NavigateUrlField="LinkURL" TargetField="LinkTarget" /> |
</DataBindings> |
</telerik:RadMenu> |
private void BindMenu() |
{ |
DataSet ds; |
if (Session["Menu"] != null) |
{ |
ds = (DataSet)Session["Menu"]; |
} |
else |
{ |
ds = ConnecTED.BindTEDMenu(); |
Session["Menu"] = ds; |
} |
RadMenu1.DataSource = ds; |
RadMenu1.DataTextField = "Link"; |
RadMenu1.DataValueField = "LinkURL"; |
RadMenu1.DataFieldID = "LinkID"; |
RadMenu1.DataFieldParentID = "ParentLinkID"; |
RadMenu1.DataBind(); |
} |
protected void RadMenu1_ItemDataBound(object sender, RadMenuEventArgs e) |
{ |
if (!SecurityHandler.CanViewLink(SafeValue.SafeInt(Session["UserID"].ToString()),DataBinder.Eval(e.Item.DataItem, "Link").ToString())) |
{ |
e.Item.Visible = false; |
} |
} |