iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
When using the DialogBox with IFrame. I notice that it doesn't show the ok,cancel buttons. Our issue is when the user drags the modal too far to the top of IE browser the user cannot close the DialogBox(modal) or move/drag it back down.
I modified ContentMode.aspx as an example of what we're doing. Here is the webdialog we used:
<ISWebDesktop:WebDialogBox ID="WebDialogBox2" runat="server" ContentURL="HTMLPage.htm" Height="200px" Text="Using IFrame" Width="400px"> <WindowSettings ContentMode="UseIFrame" WindowOptionsPosition="Right" AllowResize="Yes" EnableFastWindowActivation="true" DimWindowWhenBusy="true" AllowClose="Yes" AllowMaximize="Yes" AllowMinimize="Yes"> <CommandButtonStyle> <Active BackColor="#8A887B" BaseStyle="Normal" ForeColor="White"> </Active> <Over BackColor="#C5C2AF" BaseStyle="Normal"> </Over> <Normal BackColor="Control" BorderColor="ControlDarkDark" BorderStyle="Solid" BorderWidth="1px" Font-Bold="False" Font-Italic="False" Font-Names="Tahoma" Font-Size="8pt" Font-Underline="False"> </Normal> </CommandButtonStyle> <ContainerStyle BackColor="White" Font-Names="Tahoma" Font-Size="8pt" Height="100%" Width="100%"> <Padding Bottom="4px" Left="4px" Right="4px" Top="4px" /> </ContainerStyle> <WindowStyle> <Active BaseStyle="Normal" BorderColor="Gray"> </Active> <Normal BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt"> </Normal> </WindowStyle> <CaptionStyle> <Active BackColor="Navy" BackColor2="192, 192, 255" BaseStyle="Normal"> </Active> <Normal BackColor="Gray" BackColor2="Gainsboro" Cursor="Default" Font-Bold="True" Font-Names="Tahoma" Font-Size="10pt" ForeColor="White"> <Padding Bottom="2px" Left="2px" Right="2px" Top="2px" /> </Normal> </CaptionStyle> <CaptionButtonStyle> <Active BaseStyle="Normal"> <BorderSettings> <Top Color="Gray" /> <Left Color="Gray" /> </BorderSettings> </Active> <Over BaseStyle="Normal"> <BorderSettings> <Bottom Color="Gray" /> <Right Color="Gray" /> </BorderSettings> </Over> <Normal BorderColor="White" BorderStyle="Solid" BorderWidth="1px" Height="17px" Overflow="Hidden" OverflowX="Hidden" OverflowY="Hidden"> </Normal> </CaptionButtonStyle> <CommandButtonDisabledStyle BackColor="Control" BackgroundImage="" BorderColor="ControlDarkDark" BorderStyle="Solid" BorderWidth="1px" CustomRules="" Font-Bold="False" Font-Italic="False" Font-Names="Tahoma" Font-Size="8pt" Font-Underline="False" ForeColor="Gray"> </CommandButtonDisabledStyle> </WindowSettings> <CommandButtons> <ISWebDesktop:WebDialogBoxButton Name="askOK" Text="Add" Type="OK" /> <ISWebDesktop:WebDialogBoxButton Name="askCancel" Text="Cancel" Type="Cancel" /> </CommandButtons> </ISWebDesktop:WebDialogBox>
Hi Tenika Lusby,
When using WebDialogBox with IFrame Content, WebDialogBox won't render the button below the WebDialogBox. WebDialogBox render all its content with its defined IFrame Page. However, you can put a button in your IFrame Page to close the WebDialogBox.
I have made a simple sample regarding this matter. Please look in my sample and please tell me if this sample have achieved your scenario. Hope this helps.
Regards,Bernard
Ok, I have added that. Another question is on WebDialogBox, is there maximum button we can add next to the "x" button for close?
Maybe you can resolve that matter by bypassing its parameter before WebDialogBox created. Here's the example:
function OnBeforeCreated(controlId) { var WebDialogBox1 = ISGetObject(controlId); WebDialogBox1.WindowSettings.AllowMaximize = "Yes"; return true;}
WebDialogBox inherits many APi from WebDesktopWindow, so it can be customized like WebDesktopWindow. Hope this helps.
var dlgBox = ISGetObject("WebDialogBox1"); dlgBox.Window.ResizeTo(document.documentElement.scrollWidth - 40, document.documentElement.scrollHeight - 40);
Hi Adam,
Did you want to resize the dialogBox window? Is there anything that you want to ask us about dialogBox function?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname