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
WebDesktop Manager
I added a Image to a ShortcutIcon.It is shown in the "preview" but not in the browser, nether in FireFox nor in Internet Explorer.
<body> <form id="form1" runat="server"> <div style="height: 816px"><ISWebDesktop:WebDesktopManager ID="WebDesktopManager1" runat="server" Height="100%" Width="100%" ActiveWindowIndex="0" AnimationStyle="VistaStyleZoom" EnableContextMenu="True" ImagesDirectory="C:\Users\MartinMuenzel\Documents\Visual Studio 2010\IntersoftWebSite3\Images" ShortcutDisplayMode="Image" ShortcutIconsVisible="True" WindowInteractiveMode="Shadow"> <FrameStyle BackColor="WhiteSmoke" BackgroundImage="url(/CommonLibrary/Images/WebDesktop/WebDesktopWall1.jpg)"> </FrameStyle> <ShortcutIcons> <ISWebDesktop:WebDesktopShortcut Image="C:\Users\MartinMuenzel\Documents\Visual Studio 2010\IntersoftWebSite3\Images\webpad-32.gif" Name="Beispiel" Text="Beispiel" /> </ShortcutIcons>
Hello,
I knew that you also set ShortcutIconVisible as true. Otherwise, you would not also see the image at design.As I said before, the issue is located in your relative path.In your code, you used:
Image="C:\Users\MartinMuenzel\Documents\Visual Studio 2010\IntersoftWebSite3\Images\webpad-32.gif"
Please look carefully in the path and prefix. Even though it is correct physical path, but the prefix is wrong. We use "/" instead of "\"
If you open the reference sample I said before (WebDesktop sample >> WebDesktopManager >> DesktopWithShortcuts.aspx), You can see that we are using:
Image="../Images/welcome-32.gif"
Please do not define the physical path. You will need to use the relative path based on the project by using "~" or "." (depends on your level of folder).
Regards,Handy
Please refer into our WebDesktop sample >> WebDesktopManager >> DesktopWithShortcuts.aspx.It seems your images relative path is incorrect.
After adding the WebDesktopShortcut objects in the ShortcutIcons collection, we need to enable ShortcutIconsVisible property in order to have the shortcut icon visible in the browser.
Simply set the the value of ShortcutIconcVisible property to true as shown in the snippet code below.
<ISWebDesktop:WebDesktopManager ID="WebDesktopManager1" runat="server" ShortcutIconsVisible="True" ...> ... </ISWebDesktop:WebDesktopManager>
Hope this helps.
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