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
Hi
Is there any way I can remove the titlebar of a WebDialogBox.
Regards
Sorry for the delay in sending this.
You can remove - actually not literally remove, but make the titlebar's height to 0px - the titlebar of WebDialogBox by setting the value of WebDialogBox-WindowSettings-WindowHeaderHeight to 0. The following snippet code shows how.
<ISWebDesktop:WebDialogBox ID="dlgBox" runat="server" Width="600px" Height="400px" DialogBoxImage="None" Text="WebDialogBox Sample"> ... <WindowSettings WindowHeaderHeight="0"> ... </WindowSettings> </ISWebDesktop:WebDialogBox>
Please, let me know if this works for you.
Thanks for your reply.
But the solution does not seem to work for me.
I have the webDialog at the following location<ISWebDesktop:WebDesktopWindow> <ISWebDesktop:WebPane ContentMode="UseIFrame"> <ISWebDesktop:WebDialogBox WindowSettings-ContentMode="UseIFrame"> <ISWebDesktop:WebDialogBox WindowSettings-ContentMode="UseIFrame"> <WindowSettings WindowHeaderHeight="0"> </WindowSettings> </ISWebDesktop:WebDialogBox>
From the snippet code, your WebDialogBox uses UseIFrame as its ContentMode. I made a minor change to ContentMode.aspx sample file of WebDialogBox by setting the WindowsHeaderHeight of WebDialogBox2; save the changes; then view the page in browser. When user click "Show DialogBox that uses IFrame" button, WebDialogBox2 will appear with title bar removed.
Is it possible that your WebDialogBox is integrated to WebDesktopManager (IntegratedToDesktopManager is enabled)? If yes, you can try to set the WindowHeaderHeight from the WebDesktopManager instance that host the WebDialogBox.
If this still doesn't help, could you please send me a simple sample of WebDialogBox that replicates the problem, so that I can assist you further?
Thanks Yudi,
I used some CSS to get it done.
div[id="dvWnd_mainDesktop_wndctl00_placeHolder_GRIDNAME"] > div > div:nth-child(2){ top:0px !important;}
div[id="dvWnd_mainDesktop_wndctl00_placeHolder_GRIDNAME"] div[class='mainDesktop-WindowSettings-ContainerStyle']{ padding:0 !important;}
Regards,Dev
Glad to hear that the CSS trick resolve the problem.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.
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