﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebDesktop - Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Wed, 21 Sep 2011 05:04:17 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I am sorry, it is ImagesDirectory, not ImagesSettings. I also attached my simple project to show you how to configure it.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Mon, 19 Sep 2011 09:13:52 GMT</pubDate><dc:creator>bbucher</dc:creator><description>&lt;p&gt;It still didn't work for me.  I give up.  &lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Wed, 07 Sep 2011 23:35:20 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255); " /&gt;&lt;/p&gt;Hi,&lt;div&gt;&lt;br /&gt;You need to re-define the path in ImageSettings via javascript. Somehow, path is still looking into CommonLibrary.&lt;br /&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word; "&gt; var imgSet = dm.ImagesSettings;
 imgSet = ~/Images/;&lt;/pre&gt;Regards,&lt;br /&gt;Handy&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Wed, 07 Sep 2011 07:17:37 GMT</pubDate><dc:creator>bbucher</dc:creator><description>&lt;p&gt;Can you please be more specific about how to do that?  Thanks,&lt;/p&gt;&lt;p&gt;Beryl&lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Tue, 06 Sep 2011 23:23:00 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;The problem is dlg.ImagesSettings still has an old images settings. Please try to define your image settings again in dlg.ImagesSettings and let me know if the issue still persists.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Tue, 06 Sep 2011 14:51:08 GMT</pubDate><dc:creator>bbucher</dc:creator><description>&lt;p&gt; I gave all the code in the first post ... nothing is done server side.&lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Mon, 05 Sep 2011 05:22:34 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Can I know how you set your the path of your custom image? Is it from client side script? Or from properties? It would be more helpful if you can let us know your page structure.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Mon, 05 Sep 2011 03:08:48 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Nope. I haven't received any news from our developer teams. I will let you know the update when I received any updates.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Fri, 02 Sep 2011 09:00:32 GMT</pubDate><dc:creator>bbucher</dc:creator><description>&lt;p&gt;Happy Ramadan!  &lt;/p&gt;
&lt;p&gt;Is there any news on this problem?&lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Thu, 01 Sep 2011 02:34:01 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;We are sorry for the late response due to public national mouslim holiday in our country.&lt;br /&gt;Followed your step by step, I can replicate the issue in here. I will report this problem to our developer team.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Custom Images in WebDialog Box</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Custom-Images-in-WebDialog-Box/</link><pubDate>Mon, 29 Aug 2011 15:50:51 GMT</pubDate><dc:creator>bbucher</dc:creator><description>&lt;p&gt;I feel fairly stupid for not being able to get this working, but I'm feeling frustrated at this point.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I want my own images for the web dialog box, so I &lt;/p&gt;
&lt;p&gt;a.  Created images &amp; put them in a subdirectory Images\Custom&lt;/p&gt;
&lt;p&gt;b.  Changed the images directory to ImagesDirectory="~/Images/"&lt;/p&gt;
&lt;p&gt;c.  Changed the preview to reference these.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I have played with what seems like a million different ways to reference the pics.  They work in deploy now, but not development.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Any help is appreciated!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Below are the two relevant bits:&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt; function wdbPreview_BeforeCreated(id, dm) {
            var dlg = ISGetObject(id);
            var wndSet = dlg.WindowSettings;
            var imgSet = dm.ImagesSettings;

            dm.UseWebResourcesForClient = true;
            wndSet.BorderType = "ComplexImages";

            with (imgSet) {
                CaptionCenterActive = "../images/custom/center_active.gif";
                CaptionLeftActive = "../images/custom/left_active.gif";
                CaptionRightActive = "../images/custom/right_active.gif";
                CloseActive = "../images/custom/close_active.gif";
                CloseDown = "../images/custom/close_down.gif";
                CloseInactive = "../images/custom/close_inactive.gif";
                CloseOver = "../images/custom/close_over.gif";
                InProgress = "../images/custom/ProgressIndicator.gif"
            }

            return true;
        }&lt;/pre&gt;&lt;pre&gt;         &amp;lt;ISWebDesktop:WebDialogBox ID="wbDialog" runat="server" Height="300px" Width="520px"
            EnableViewState="False" ShadowColor="dimgray" 
            ControlBoxImage="../images/Help20px.png" DialogBoxImage="Information" 
            ImagesDirectory="~/Images/"&amp;gt;
            &amp;lt;WindowSettings ContentMode="UseIFrame" ControlBox="Yes" AllowResize="Yes"&amp;gt;
                &amp;lt;ContainerStyle BackColor="White" Font-Names="segoe ui,tahoma" Font-Size="9pt" Height="300px"
                    Width="100%" VerticalAlign="Top"&amp;gt;
                    &amp;lt;Padding Bottom="4px" Left="4px" Right="4px" Top="4px" /&amp;gt;
                &amp;lt;/ContainerStyle&amp;gt;
                &amp;lt;WindowStyle&amp;gt;
                    &amp;lt;Active BorderWidth="3px" Height="300px" BaseStyle="Normal" VerticalAlign="Top"&amp;gt;
                        &amp;lt;BorderSettings&amp;gt;
                            &amp;lt;Top Width="0px" /&amp;gt;
                        &amp;lt;/BorderSettings&amp;gt;
                    &amp;lt;/Active&amp;gt;
                    &amp;lt;Normal BackColor="White" Font-Names="Segoe UI, Tahoma" Font-Size="9pt" BorderColor="#CCCCCC"
                        BorderStyle="solid" Overflow="Auto" OverflowX="Auto" OverflowY="Auto" 
                        VerticalAlign="Top"&amp;gt;
                   &amp;lt;/Normal&amp;gt;
                    &amp;lt;Over VerticalAlign="Top"&amp;gt;
                    &amp;lt;/Over&amp;gt;
                &amp;lt;/WindowStyle&amp;gt;
                &amp;lt;CaptionStyle&amp;gt;
                    &amp;lt;Active BackColor="Transparent" BaseStyle="Normal"&amp;gt;
                    &amp;lt;/Active&amp;gt;
                    &amp;lt;Normal Font-Names="Segoe UI, Tahoma" Font-Size="10pt" Cursor="default" BackColor="Transparent"&amp;gt;
                        &amp;lt;Padding Bottom="2px" Left="2px" Right="2px" Top="3px" /&amp;gt;
                    &amp;lt;/Normal&amp;gt;
                &amp;lt;/CaptionStyle&amp;gt;
                &amp;lt;CommandButtonStyle&amp;gt;
                    &amp;lt;Active BaseStyle="Normal" BackColor="#8A887B" ForeColor="White"&amp;gt;
                    &amp;lt;/Active&amp;gt;
                    &amp;lt;Over BaseStyle="Normal" BackColor="#C5C2AF"&amp;gt;
                    &amp;lt;/Over&amp;gt;
                    &amp;lt;Normal BackColor="buttonface" BorderColor="threeddarkshadow" BorderWidth="1px" BorderStyle="solid"
                        Font-Names="Tahoma" Font-Size="8pt"&amp;gt;
                    &amp;lt;/Normal&amp;gt;
                &amp;lt;/CommandButtonStyle&amp;gt;
                &amp;lt;CommandButtonDisabledStyle Font-Names="Tahoma" Font-Size="8pt" BackColor="buttonface"
                    BorderColor="threeddarkshadow" BorderWidth="1px" BorderStyle="solid" ForeColor="Gray"&amp;gt;
                &amp;lt;/CommandButtonDisabledStyle&amp;gt;
            &amp;lt;/WindowSettings&amp;gt;
            &amp;lt;ClientSideEvents OnBeforeCreated="wdbPreview_BeforeCreated" OnClosed="wdbPreview_Closed" /&amp;gt;
        &amp;lt;/ISWebDesktop:WebDialogBox&amp;gt;
&lt;/pre&gt;

&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Beryl&lt;/p&gt;</description></item></channel></rss>