When using a custom icon for the title icon in a notification it doesnt understand or expand ~ (tilde).
I found this problem in version 2012.3.1308.40.
.aspx/.ascx
<telerik:RadNotification runat="server" ID="rNotify" ClientIDMode="Static" VisibleOnPageLoad="false"
Animation="Slide" Position="TopCenter" Width="250px" Height="100px" AutoCloseDelay="5000"
TitleIcon="~/images/etrack1_16x16.png" ContentIcon="">
</telerik:RadNotification>
For now i have implemented a work around, by simply adding the following to the Page_PreRender method:
protected void Page_PreRender(object sender, EventArgs e)
{
if (this.rNotify.TitleIcon.Contains("~"))
{
this.rNotify.TitleIcon = Page.ResolveClientUrl(this.rNotify.TitleIcon);
}
}
I found this problem in version 2012.3.1308.40.
.aspx/.ascx
<telerik:RadNotification runat="server" ID="rNotify" ClientIDMode="Static" VisibleOnPageLoad="false"
Animation="Slide" Position="TopCenter" Width="250px" Height="100px" AutoCloseDelay="5000"
TitleIcon="~/images/etrack1_16x16.png" ContentIcon="">
</telerik:RadNotification>
For now i have implemented a work around, by simply adding the following to the Page_PreRender method:
protected void Page_PreRender(object sender, EventArgs e)
{
if (this.rNotify.TitleIcon.Contains("~"))
{
this.rNotify.TitleIcon = Page.ResolveClientUrl(this.rNotify.TitleIcon);
}
}