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
Am trying to use WebPaneManager1.LoadLayoutFromFile(FilePath) but i couldnt find the help what is "FilePath" ? and where can i find the location of this file ?
And Also I always get nothing to the following themeinfo
WebDesktopManager1.GetCurrentTheme() - How to set the Theme to webdesktop manager programatically.
Thanks
Hamid
Hi Aziz,
To disable using the SmartWebResources, you can set it from WebGrid's property. Set the EnableWebResources to Never. When you hit the second step, may I know on how did you remove the IS enteries from web.config?
May I also know what was the error ? It seems that the steps are right, it should be working.
Thank you and have a nice day.
Best Regards,
Andi Santoso
Hi Muthu Hamid,
We do not have the sample of xml file for the layout of the WebPaneManager. However, you can use the "Pick Template Layout/Create Custom Tabular" and pick the template layout that we have provided. After you choose or, perhaps you create your own layout, you can save the layout with .xml file, so, on next time, you can use WebPaneManager.LoadLayoutFromFile and load the saved layout.
For the second issue, I think I will need a further discussion with the developer team and I will inform you as soon as possible. I am so sorry for the inconvenience. I hope it helps and thank you.
Hi Andi Santoso
Thanks for your concern reply.
//"However, you can use the "Pick Template Layout/Create Custom Tabular" and pick the template layout that we have provided."//
Could pls help where i can find the template file which you have provided?
Yes, you can go to "WebPaneManager Advanced Designer" by clicking on the nav pane. After you click on that link, that particular window will show up. After that you can click on the "Pick Template Layout/Create Custom Tabular" which located on the top of the window, after that, you can choose the specific layout template. I also attached you a snapshot to help you find the particular function. For the other issue, sorry, but I will need more time to investigate it with the developer team. I hope it helps and thank you.
Dear Andi Santoso
Thanks for your reply. With reference to your answer i can only set the layout during design time only. But my requirement is to apply the Layout for the entire desktop during runtime. That user should be able to change their layout as in your online sample ( Pls see the Sample URL : http://live.intersoftpt.com/cs/WebDesktop/References/Default.aspx ) Change Desktop Style Icon functionality. This functionality is not working with sample source you provided. The following function gives error when i execute the sample ( The error line is in Bold formate ).
Private Function SetThemeInfo(ByVal name As String) As ThemeInfo
Dim ti As ThemeInfo = WebPaneManager1.GetCurrentTheme() ti.Name = name ti.ResolveThemeFile() ti.LoadThemeData()Return ti
End Function
Could you pls help me in this regards as quick as possible. Its very urgent pls.
Thanks and Regards
Thank you for your patience. Now, I know why WebPaneManager1.GetCurrentTheme() is always return us a null value. That happens because we do not have the istheme.config in our project. To create the istheme.config in our project, you will need to create them using WebUIStyle Manager, usually this is on your program files under your WebDesktop folder. I will give you a video tutorial on how to do so, and you can click here to watch a video. After you have finished follow the instruction, you should have your istheme.config in your project folder. After that, you can add more style that has been provided by us, for example, Default theme, WinVista theme, and etc. Just remember to add them in your List.xml and add the folder of its theme as well which contains of .isl files.
I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.
Thanks for your elaborated reply and i had followed all the instructions and created the "istheme.config" in my project successfully. Unfortunately I am always getting the same value ("Nothing") to the follwoing Line
Dim ti As ThemeInfo = WebPaneManager1.GetCurrentTheme()
Pls help me how can i fix this issue?
Thanks & BestRegards
Hi Hamid,
I have recieved your email regarding this issue and you said that you are manage to handle this particular issue. The next issue is about the missing resources, and I am able to replicate the issue and have forwarded this to our developer team. I will inform you as soon as I get news from them.
I hope it helps and have a nice day. Thank you.
After investigating this particular problem, this problem is occured because the path for that image is not correct. Here are the couple things that you will need to change:
1. Make sure you have that particular image in your project file. If not, you can add them from your
IntersoftSolution folder of its CommonLibrary.
2. Next, on your istheme.config, change the ApplyBehaviors property to true. (ApplyBehaviors="true")
3. After that, In your .isl file, for instance WinXP.isl, WinVista.isl, etc, make sure to change the path into the right
one. Add the path to where the images are saved, you can see how on my sample WinXp.isl.
4. After done changing and adding the path, on your particular theme folder, make sure to erase all
the .css file existed.
After follow these steps, the theme should be working just fine. For your information, this issue is occured because we are creating the project in FileSystem, hence it will automatically direct us to the root of our project. This particular issue will not happen when we create this project on our localhost.
I hope it helps and I also attached my sample of files for comparison of yours. Thank you and have a nice day.
Hi Andi,
If you check my email that I have sent earlier,
What we need.1) A standalone sample that doesnot depend upon any hidden resource e.g. CommonLibrary folder. The sample app should have all the resource e.g. javascript files, imags files, css etc.2) This sample should have the themes you are giving by default i.e. Default, WinXp, WinVista etc.3) A test page to change the session Theme of the user to check everything is in place.
IIS 7 (Internet Information Services) --> If I make a virtual directory in the same website having the commonlibrary virtual directory, the application works fine. But if I create a new website in IIS 7 and deplo my application theree, it will not work as it will not find the "CommonLibrary" virtual directory.
Thanks in advance. Send us a sample application that does not depend on the virtual directory "CommonLibrary" created by Intersoft Installer.
Please let me know how soon you can send me a working sample. I am expecting your urgent response. Its been a week since we are stuck in this issue.
First of all, when we use istheme.config, we cannot have a project that does not depend upon hidden resources e.g. CommonLibrary folder. Secondly, for the other theme, you can get it from your Intersoft Solution folder in your Program Files for example, C:\Program Files\Intersoft Solutions\WebUI Studio for ASP.NET\WebDesktop.NET 3.0\Layout\WebDesktopManager. You can get them and change the content of each file so that it will have a same content with the one that I provided to you. And the last one, I believe, I have also included those file from the last post attachment, changeTheme_ServerSide.aspx.cs and changeTheme_ServerSide.aspx.
For the IIS and deployment issue, our product should be have no problem when deploying with or without using SmartWebResources. For the easiest way, you can include your CommongLibrary folder inside you project and deploy them as one. After that, ensure that your ScriptDirectory and SharedScriptDirectory are having a right path. For further information about Deployment you can go to "ms-help://ISNet.WebUI.WebGrid.V7/ISNet.WebUI.WebGrid/Deploying project that does not use SmartWebResources.html" at our documentation.
I hope it helps. Thank you and have a nice day.
So the bottom line is ... If i want to use themes, i must use hidden resources???? Isn't there is a way out?
Secondly how to deploy with smart web hidden resouce? Can you please point to some help tutorials?
I went to this link ms-help://ISNet.WebUI.WebDesktop.V3/ISNet.WebUI.WebDesktop/Deploying project that uses SmartWebResources.html
But the link inisde it "Before deploying the project, you have to configure SmartWebResources after you created a new web application. Click here for guidance" is not working.
i.e. ms-help://ISNet.WebUI.2007/ISNet.WebUI/Configure SmartWebResources in a web application.html
Please respond
Yes, If we want to customize theme, we will need to use CommonLibrary since all the files are not included in our SmartWebResources.
By you meant with SmartWeb Hidden Resources, does it refer to the Common Libary Folder? In your case, I believe since you will need the CommonLibrary, you can have two options way to deploy your project.
First, is by making the Common Library as a virtual directory at IIS. Or the second one, is by including your Common Library folder inside your project and deploy them as a one project. However, you will need to ensure that the ScriptDirectory and SharedScriptDirectory are having a right path as I mentioned before. For further information you can also see our documentation at here.
The "Click here for guidance" is working in my end. You can try to go to "ms-help://ISNet.WebUI.2008/ISNet.WebUI/Configure SmartWebResources in a web application.html" directly. Basically, when you want to deploy using SmartWebResources, you can simply right click on our component and choose "Register SmartWebResources".
So i think we came to the conclusion.
For my case
I cannot make virtual directory in IIS for CommonLibrary but i need to use theming as well. So the solution for me is..
1) Include the CommonLibrary Folder in my project.
2) Disable SmartWebResource (Please point how to un register SmartWebResource).
3) Change the ScriptDirectory and SharedScriptDirectory paths. Both should point to the CommonLibrary folder in my project.
Please let me know if I am missing something? and thanks
Dear Andy,
I followed your advice but it is not working. here are the steps i did.
1) I copied full CommonLibrary folder from the installation
directory to my project (on the project). I renamed the folder as
"ISNetLibrary"
2) Removed the IS axd entries from web.config (remove
SmartWebResource)
3) Change the paths in the property of WebDesktopManager. Properties are a) ImageDirectory b) ScriptDirectory c) SharedScriptDirectory
I tried three different path techniques.1) ISNetLibrary/Shared/2) /ISNetLibrary/Shared/3) ~/ISNetLibrary/Shared/
Mind you that the commonlibrary folder is copied at root and renamed as ISNetLibrary. The aspx that have the desktopmanager is "Default.aspx" and it is also located at root.
Please tell me what am I missing
I am attaching a snop shot of solution explorer and the
properties window.
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