﻿<?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 - WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</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>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Sun, 20 Nov 2011 23:30:52 GMT</pubDate><dc:creator>ezekiel571</dc:creator><description>&lt;p&gt;Ah, I see..&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In order to get the tilda to work you need to change the ImagesDirectory (in Designer UI) to the directory with your images.&lt;/p&gt;
&lt;p&gt;IE..&lt;/p&gt;
&lt;p&gt;ImagesDirectory = ~/img/&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;then set your splitterimage (or whatever) directly.&lt;br /&gt;&lt;br /&gt;splitterleft = newImage.gif&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Sun, 20 Nov 2011 23:24:35 GMT</pubDate><dc:creator>ezekiel571</dc:creator><description>&lt;p&gt;Im still confused and having kind of the same problem.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Where did you set your ImagesDirectory?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I set my webresource to scriptsonly but still can get my image to show.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Mon, 14 Jun 2010 16:24:06 GMT</pubDate><dc:creator>SAgosto</dc:creator><description>&lt;p&gt;I understand now. I had to set the ImagesDirectory which can use the tilda otherwise it defaults to the CommonLibrary directory. Thank you.&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Mon, 07 Jun 2010 03:47:37 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;With SmartWebResources&amp;trade; enabled, by default, all of the product resources (scripts and images), will be loaded from the resource assembly file. This means that if using SmartWebResources the images and the scripts will be loaded from the *.resources assembly file, indicated by the .axd file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;If you would like to have your own custom image path of Intersoft’s controls, it is recommended to use ‘CommonLibrary’ instead of SmartWebResources&amp;trade;. The other alternative is, set the SmartWebResources&amp;trade; to load ‘script only’.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Fri, 04 Jun 2010 13:09:03 GMT</pubDate><dc:creator>SAgosto</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;Please allow me to explain how &lt;strong&gt;SmartWebResources&amp;trade;&lt;/strong&gt; works.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;Each of Intersoft’s product has their own resources such as scripts and images. For instance, previously these resources are stored in “/CommonLibrary/Shared” folder for core framework resources. WebGrid’s resources are stored in “/CommonLibrary/WebGrid/v7_0_7200” folder.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;With SmartWebResources, they are now embedded into .NET assembly. SmartWebResources&amp;trade; stores each product’s client resources in separate assembly.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;When you are using SmartWebResources&amp;trade;, by default, all of the product resources (scripts and images), in this case the product is WebDesktop, will be loaded from ISNet.WebUI.WebDesktop.Resources.dll assembly file.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;Should you need to have your WebDesktop showing your own custom images by defining the relative path within the ‘ImageSettings’ path, please try set the value of “&lt;strong&gt;EnableWebResources&lt;/strong&gt;” property to “&lt;strong&gt;ScriptOnly&lt;/strong&gt;”. By using this setting, only script that will be obtained from WebDesktop resource assembly file. You can either setting this on your specific page of your WebDesktop instance as shown in the snippet code below&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: 'courier new'" color:blue;?=""&gt;&amp;lt;&lt;/span /&gt;&lt;span style="color: #a31515"&gt;ISWebDesktop&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;WebDesktopManager&lt;/span&gt; &lt;span style="color: red"&gt;ID&lt;/span&gt;&lt;span style="color: blue"&gt;="WebDesktopManager1"&lt;/span&gt; &lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;="server"&lt;/span&gt; &lt;span style="color: red"&gt;Height&lt;/span&gt;&lt;span style="color: blue"&gt;="100%"&lt;/span&gt;
    &lt;span style="color: red"&gt;Width&lt;/span&gt;&lt;span style="color: blue"&gt;="100%"&lt;/span&gt; &lt;span style="color: red"&gt;ActiveWindowIndex&lt;/span&gt;&lt;span style="color: #a31515"&gt;="0"&lt;/span&gt; &lt;span style="color: red"&gt;EnableWebResources&lt;/span&gt;&lt;span style="color: blue"&gt;="ScriptOnly"&amp;gt;&lt;/span&gt;
    &lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ImagesSettings&lt;/span&gt; &lt;span style="color: red"&gt;CloseActive&lt;/span&gt;&lt;span style="color: blue"&gt;="~/Images/dot.gif" /&amp;gt;&lt;/span&gt;
    ...
&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ISWebDesktop&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;WebDesktopManager&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;or specify it to entire web application without has to change the value to each control’s instance. Please insert following snippet code into &amp;lt;appSettings&amp;gt; of web.config file.&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: 'courier new'" color:blue;?=""&gt;&amp;lt;&lt;/span /&gt;&lt;span style="color: #a31515"&gt;appSettings&lt;/span&gt;&lt;span style="color: #a31515"&gt;&amp;gt;&lt;/span&gt;
  &lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;add&lt;/span&gt; &lt;span style="color: red"&gt;key&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;ISNet.WebUI.WebDesktop.v3_0_7200.EnableWebResources&lt;/span&gt;" &lt;span style="color: red"&gt;value&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;ScriptOnly&lt;/span&gt;"/&amp;gt;
&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;appSettings&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I still don't understand why this isn't possible. The application uses SmartWebResources for the majority of the controls. I can use custom images similiar to my original post in this thread to specify the pathway to the images. This will work fine unless you want to put this markup in a user control that can be put on pages in various pathways where the relative paths won't be correct.  This is why I want to use the tilda like other ASP server-side controls so that the pathway is properly determined.&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Wed, 26 May 2010 17:10:27 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please allow me to explain how &lt;strong&gt;SmartWebResources&amp;trade;&lt;/strong&gt; works.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Each of Intersoft’s product has their own resources such as scripts and images. For instance, previously these resources are stored in “/CommonLibrary/Shared” folder for core framework resources. WebGrid’s resources are stored in “/CommonLibrary/WebGrid/v7_0_7200” folder.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;With SmartWebResources, they are now embedded into .NET assembly. SmartWebResources&amp;trade; stores each product’s client resources in separate assembly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;When you are using SmartWebResources&amp;trade;, by default, all of the product resources (scripts and images), in this case the product is WebDesktop, will be loaded from ISNet.WebUI.WebDesktop.Resources.dll assembly file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Should you need to have your WebDesktop showing your own custom images by defining the relative path within the ‘ImageSettings’ path, please try set the value of “&lt;strong&gt;EnableWebResources&lt;/strong&gt;” property to “&lt;strong&gt;ScriptOnly&lt;/strong&gt;”. By using this setting, only script that will be obtained from WebDesktop resource assembly file. You can either setting this on your specific page of your WebDesktop instance as shown in the snippet code below&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: 'courier new'" color:blue;?=""&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ISWebDesktop&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;WebDesktopManager&lt;/span&gt; &lt;span style="color: red"&gt;ID&lt;/span&gt;&lt;span style="color: blue"&gt;="WebDesktopManager1"&lt;/span&gt; &lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;="server"&lt;/span&gt; &lt;span style="color: red"&gt;Height&lt;/span&gt;&lt;span style="color: blue"&gt;="100%"&lt;/span&gt;
    &lt;span style="color: red"&gt;Width&lt;/span&gt;&lt;span style="color: blue"&gt;="100%"&lt;/span&gt; &lt;span style="color: red"&gt;ActiveWindowIndex&lt;/span&gt;&lt;span style="color: #a31515"&gt;="0"&lt;/span&gt; &lt;span style="color: red"&gt;EnableWebResources&lt;/span&gt;&lt;span style="color: blue"&gt;="ScriptOnly"&amp;gt;&lt;/span&gt;
    &lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ImagesSettings&lt;/span&gt; &lt;span style="color: red"&gt;CloseActive&lt;/span&gt;&lt;span style="color: blue"&gt;="~/Images/dot.gif" /&amp;gt;&lt;/span&gt;
    ...
&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ISWebDesktop&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;WebDesktopManager&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;or specify it to entire web application without has to change the value to each control’s instance. Please insert following snippet code into &amp;lt;appSettings&amp;gt; of web.config file.&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: 'courier new'" color:blue;?=""&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;appSettings&lt;/span&gt;&lt;span style="color: #a31515"&gt;&amp;gt;&lt;/span&gt;
  &lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;add&lt;/span&gt; &lt;span style="color: red"&gt;key&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;ISNet.WebUI.WebDesktop.v3_0_7200.EnableWebResources&lt;/span&gt;" &lt;span style="color: red"&gt;value&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;ScriptOnly&lt;/span&gt;"/&amp;gt;
&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;appSettings&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Wed, 26 May 2010 14:48:51 GMT</pubDate><dc:creator>SAgosto</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui', 'sans-serif'"&gt;The axd file shows that your current project is &lt;strong&gt;using SmartWebResources&amp;trade;&lt;/strong&gt;. In order to use the tilde character to specify relative path of image file, please try to use it on a project that doesn’t use SmartWebResources&amp;trade;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui', 'sans-serif'"&gt;For more detail information about ‘How does SmartWebResources&amp;trade; work’, please check following &lt;a href="http://support.intersoftpt.com/docs/webui/how does smartwebresources work.html"&gt;link&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui', 'sans-serif'"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am confused. We are using SmartWebResources to avoid dealing with CSS/JS files. I like the fact that they are handling by Intersoft. With that said, we want to be able to specify other images using pathways. Does that mean if using SmartWebResources that the TILDE is not available?&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Wed, 26 May 2010 12:28:28 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;The axd file shows that your current project is &lt;strong&gt;using SmartWebResources&amp;trade;&lt;/strong&gt;. In order to use the tilde character to specify relative path of image file, please try to use it on a project that doesn’t use SmartWebResources&amp;trade;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;For more detail information about ‘How does SmartWebResources&amp;trade; work’, please check following &lt;a href="http://support.intersoftpt.com/docs/webui/how does smartwebresources work.html"&gt;link&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Wed, 26 May 2010 09:51:33 GMT</pubDate><dc:creator>SAgosto</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;I made a simple test by using WebDesktopManager control and set its CloseActive image to “~/Pictures/dot.gif”. The &lt;i style="mso-bidi-font-style: normal"&gt;Pictures&lt;/i&gt; folder is located right one level under the root of my project.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; color: #1f497d; font-family: 'segoe ui','sans-serif'"&gt;My simple test shows that we can use the tilde character (“~”) to specify relative path within the WebDesktop’s ImageSettings. I enclosed my simple project to be evaluated. Please let me know if there is anything that I missed during my attempt to repro your issue.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I used Fiddler and when I use the tilde character ("~"), it looks for the resources within the AXD file. This isn't the case when I just specify a path without the tilde.&lt;/p&gt;
&lt;p&gt;Anyone?&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Tue, 25 May 2010 12:19:38 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I made a simple test by using WebDesktopManager control and set its CloseActive image to “~/Pictures/dot.gif”. The &lt;i style="mso-bidi-font-style: normal"&gt;Pictures&lt;/i&gt; folder is located right one level under the root of my project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;My simple test shows that we can use the tilde character (“~”) to specify relative path within the WebDesktop’s ImageSettings. I enclosed my simple project to be evaluated. Please let me know if there is anything that I missed during my attempt to repro your issue.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebDesktop's ImageSettings with relative paths</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktops-ImageSettings-with-relative-paths1/</link><pubDate>Tue, 25 May 2010 11:29:30 GMT</pubDate><dc:creator>SAgosto</dc:creator><description>&lt;pre&gt;           &amp;lt;ImagesSettings 
                InProgress="/Images/WebDesktop/spinner.gif"
                SplitterGripBottom="/Images/WebDesktop/Splitter/np_o7_grip_bottom.gif"
                SplitterGripLeft="Images/WebDesktop/Splitter/np_o7_grip_left.gif"
                SplitterGripRight="/Images/WebDesktop/Splitter/np_o7_grip_right.gif" 
                SplitterGripTop="/Images/WebDesktop/Splitter/np_o7_grip_top.gif" /&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Is there a way to use the ~ character to specify a relative path within the WebDesktop's ImageSettings? I prefer not to use the ImagesDirectory because there are other paths being specified in other directories within this control. Unless ImagesDirectory is used in some other way. If I specify ~ at the beginning, it doesn't resolve as expected.&lt;/p&gt;</description></item></channel></rss>