Welcome Guest Search | Active Topics | Sign In | Register

Dialog did not show page with ContentURL Options
Angus Lau
Posted: Thursday, November 22, 2012 11:43:49 PM
Rank: Newbie
Groups: Member

Joined: 11/22/2012
Posts: 1
function ShowPreview() {
var dlg = eo_GetObject('dlgPreview');
var url = "http://www.google.com/";
dlg.setContentUrl("");
dlg.setContentUrl(url);
dlg.show(true);
}


<eo:Dialog ID="dlgPreview" runat="server" Height="200px" Width="300px"
AllowResize="True" BorderColor="#335C88" BorderStyle="Solid" BorderWidth="1px"
CloseButtonUrl="00070101" ControlSkinID="None" HeaderHtml="Dialog Title"
MinimizeButtonUrl="00070102" ResizeImageUrl="00020014"
RestoreButtonUrl="00070103" ShadowColor="LightGray" ShadowDepth="3">
<HeaderStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 11px; background-image: url(00070104); padding-bottom: 3px; padding-top: 3px; font-family: tahoma" />
<ContentStyleActive CssText="border-top: #335c88 1px solid; background-color: #e5f1fd" />
<FooterStyleActive CssText="background-color: #e5f1fd; padding-bottom: 8px;" />
</eo:Dialog>


<a href="javascript:ShowPreview();">Show Preview</a>


With above, when I click the "show preview". The dialog prompt up but nothing show in the content. Please kindly help. Thanks.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.