Last Updated: 16 Jun 2015 13:59 by ADMIN
Marin Bratanov
Created on: 04 Oct 2013 11:33
Category: Notification
Type: Bug Report
FIX Under IE, a RadNotification with ShowSound adds unexpected height to the page
Under IE an embed tag is generated for the sound. It seems it has default height, so when it is appended to the form with JavaScript it may cause scrollbars if it has siblings with height set to 100%.
There are three possible workarounds
- set the form overflow to hidden with CSS, e.g. html, body, form { height: 100%; overflow: hidden; }
- remove the ShowSound property if it is less important than scrollbars and page layout
- use the following JavaScript function to remove the height from the embed tag:
		function pageLoad()  //Sys.Application.Load handler
			if ($telerik.isIE)
				var embed = $get("<%=rn.ClientID %>" + "_playAudio");
				if (embed && embed.tagName.toLowerCase() == "embed") = "none";
where rn is the server ID of the notification control. If more than one RadNotification is present on the page the procedure would have to be repeated for each one.