Posted 11 Jun 2012 Link to this post
<
telerik:RadWindow
ID
=
"RadWindowVid"
runat
"server"
OpenerElementID
"div495"
Width
"560px"
Height
"420px"
NavigateUrl
"http://www.caravanfinder.co.uk/video/dealers/2012/couplandscaravans/cameo_495.html"
Animation
"Fade"
Behaviors
"Close"
VisibleStatusbar
"False"
Title
"Bessacarr Cameo 495"
Skin
"WebBlue"
OnClientClose
"OnClientClose"
>
</
Posted 12 Jun 2012 Link to this post
div
id
"loading"
style
" width: 100px; height: 50px; display: none; text-align: center; margin: auto;"
loading...
asp:Button
"RadButton1"
Text
OnClientClick
"openRadWnd(); return false;"
/>
telerik:RadWindowManager
"RadWindowManager1"
Windows
"RadWindow1"
"http://converter.telerik.com"
ShowContentDuringLoad
"false"
OnClientShow
"OnClientShow"
OnClientPageLoad
"OnClientPageLoad"
<script type=
"text/javascript"
var
loadingSign =
null
;
contentCell =
function
openRadWnd() {
$find(
"<%=RadWindow1.ClientID %>"
).show();
}
OnClientShow(sender, args) {
loadingSign = $get(
);
contentCell = sender._contentCell;
if
(contentCell && loadingSign) {
contentCell.appendChild(loadingSign);
contentCell.style.verticalAlign =
"middle"
loadingSign.style.display =
""
OnClientPageLoad(sender, args) {
contentCell.removeChild(loadingSign);
"none"
</script>