Completed
Last Updated: 05 Feb 2016 11:51 by ADMIN
ADMIN
Marin Bratanov
Created on: 25 Sep 2014 09:55
Category: UI for ASP.NET AJAX
Type: Bug Report
0
FIX The page loading sign of a RadWindow is now shown properly under Safari when RenderMode=Classic
A workaround is to place the rwLoading class in the proper place by using the events of the control, for example:

	<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ShowContentDuringLoad="false" 
		OnClientShow="applyProperLoadingSign" OnClientPageLoad="removeLoadingSignClass">
	</telerik:RadWindowManager>
		<script type="text/javascript">
			function applyProperLoadingSign(sender, args) {
				if (!sender.get_showContentDuringLoad() && $telerik.isMobileSafari) {
					$telerik.$(".rwIframeWrapperIOS", sender.get_popupElement()).removeClass("rwLoading");
					$telerik.$(".rwWindowContent.rwExternalContent", sender.get_popupElement()).addClass("rwLoading");
				}
			}

			function removeLoadingSignClass(sender, args) {
				if ($telerik.isMobileSafari) {
					$telerik.$(".rwLoading", sender.get_popupElement()).removeClass("rwLoading");
				}
			}
                       </script>
0 comments