Hi,
We have a strange behavior with the target attribute on links:
- When we add a link in HTML mode an specify a target attribute other than "_blank" then switch to the Preview mode and back to the HTML mode, the attribute is renamed original_target=... and a new target attribute is added an it's value is always "_blank". Lik this:
<
a
href
=
"http://www.google.com/"
target
=
"_blank"
original_target
=
"_top"
>www.google.com</
a
>
We had this issue while using version 5.7.1 and we've been told to upgrade to 5.8.4 but after the upgrade the problem is still present.
What should I do ?
protected void RadTabStrip1_TabClick(object sender, RadTabStripEventArgs e)
{
RadPageView pageView = AddPageView(e.Tab);
switch (e.Tab.PageViewID)
{
case "DriverList":
pageView.ContentUrl = "DriverList.aspx";
break;
}
e.Tab.PageView.Selected = true;
}
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
$(window).load(function () {
window.parent.parent.HideLoadingPanel('DataPane');
});
function showAlert() {
alert("Here");
}
</script>
function onTabSelected(sender, args) {
var tab = args.get_tab();
var value = tab.get_value();
if (tab.get_pageViewID()) {
var pageView = document.getElementById(tab.get_pageViewID());
var contentWindow = pageView.getExtContentElement();
contentWindow.showAlert();
}
}