Approved
Last Updated: 17 Jan 2018 13:11 by ADMIN
Adding big text content in the Notification's Text property overflows the height of the controls wrapper:
https://www.screencast.com/t/bQ2OQ2o4DnG

A possible workaround is to set the height of the content wrapper manually:
        div.rnContentWrapper {
            height: 95px !important;
        }


Steps to reproduce:
        <telerik:RadNotification ID="RNRappel" runat="server" Width="500px" Height="150px" EnableViewState="false" AutoCloseDelay="0" RenderMode="Lightweight"
            CloseButtonToolTip="Fermer" ContentScrolling="Auto" VisibleOnPageLoad="true" Position="Center" ContentIcon="warning">
        </telerik:RadNotification>

CS:
    protected void Page_Load(object sender, EventArgs e)
    {
        RNRappel.Text = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.";
    }

Approved
Last Updated: 12 Jun 2017 08:32 by S
When you open a RadNotification in a scrolled page in Edge, it will appear higher than expected or it might not appear at all depending on how much the page is scrolled. 

You can avoid the issue by placing the following script at the end of your page:

		<script type="text/javascript">
			Telerik.Web.UI.RadNotification.prototype._originalSetPopupValue = Telerik.Web.UI.RadNotification.prototype._setPopupVisible;
			Telerik.Web.UI.RadNotification.prototype._setPopupVisible = function(x, y) 
			{
				if (Telerik.Web.Browser.edge) {
					var offsetY = window.pageYOffset;
					var offsetX = window.pageXOffset;

					if (document.documentElement.scrollTop == 0 && document.body.scrollTop > 0)
						y += offsetY;
					if (document.documentElement.scrollLeft == 0 && document.body.scrollLeft > 0)
						x += offsetX;
				}
				this._originalSetPopupValue(x, y);
			}
		</script>
Approved
Last Updated: 14 Jul 2015 14:25 by ADMIN
ADMIN
Created by: Danail Vasilev
Comments: 0
Category: Notification
Type: Bug Report
1