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 I have an app using the newest version of all WebUI for ASP.Net. Everyting works fine on my development machine in all browser types (IE11, Chrome, FireFox). So I deployed the whole thing to a IIS v. 7.5 running on Windows Server 2008. I followed the guidlines when not using smart web resources as I copy all the CommonLibray stuff to the server and creata Virtal Directory referring it. After this all works grate when browsing from Chrom and FireFox. BUT IE11 is not working properly. I pass the login screen but after that I get strange painted tree-view, that can not be expanded nor selected from. Also notice the strange icons in front of each item instead of the '+' symbol. The WebCombo shown can not be selected from either. Both the WebCombo and the WebTreeView are dead for the mouse. See screenshots attached one from functioning Chrome browsing and the other one from the IE11. And yes I'm running withOUT compatibilty mode.
Also the web-panes can not be resized.
What can be the problem here?
Regards TJ
Please allow me to assist you with the deployment problem one-by-one. First, let's start with the WebTreeView.
Everyting works fine on my development machine in all browser types (IE11, Chrome, FireFox).
During development phase, does the app (in development machine) uses SmartWebResources or not uses SmartWebResources? If the app in development machine doesn't use SmartWebResources then it would be as simple as xcopy the app to deployment server.
A simple WebSite with unbound WebTreeView is deployed to my IIS 8.5. Below is the settings which related to WebTreeView defined in web.config file.
<configuration> <appSettings> <add key="ISNet.WebUI.ISRes_Registered" value="false"/> <add key="ISNet.WebUI.v3_0_5000.OptimizeCss" value="true" /> <add key="ISNet.WebUI.v3_0_5000.OptimizeCssName" value="true" /> <add key="ISNet.WebUI.v3_0_5000.GroupCssStyles" value="true" /> <!-- WebTreeView Settings --> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.ImagesDirectory" value="~/CommonLibrary/Images/WebTreeView/"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.RenderingMode" value="HTML5"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.RuntimeLicenseKey" value="RUNTI-MELI-CENSE"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.ScriptDirectory" value="~/CommonLibrary/WebTreeView/V1_0_1500/"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.SharedScriptDirectory" value="~/CommonLibrary/Shared/"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.EnableWebResources" value="Never"/> </appSettings> ... </configuration>
Note: the value shown at the above settings may differ/vary according to the configuration of deployment environment.
Please ensure that those settings have been configured properly. You can use the Network tool of IE 11 Developer Tool to determine which js files or images that missing (http404).
Find attached the results from IE11 Dev. Tool. It seems that when browsing from IE11 the scripts in CommonLibary can't be found...am I right? But why is that happening for IE11 only but not in Chrome and FireFox? ...
So I added all the stuff from your <appSettings> that where missing in mine (all those script directory refs. and EnableWebResources=never). After that the tree view paints correctly but is not sensing the mouse, when hovering over tree view items or trying to expload an item.In the IE11 Dev Tool I now get this error only: "SCRIPT438: Object doesn't support property or method 'attachEvent'""File: WebTreeView.js, Line: 1, Column: 93893"We are using .NET framework v4.0.304129 on both dev. machine and deployment server.
PS: If it matter, When I deploy I use "Publish Web site" from Visual Studio 2010 that compiles and copy the website to a "precompiled" folder. I copy the content of that folder to the deployment server. Done so for many years with the app with previous version of WebUI components without any problems at all.TJ
Where is the WebUI for ASP.Net documentation, where I can read about thes Smart Web Resources, etc.
I enclosed a video (SmartWebResourcesDocumentation.zip) as attachment. The video shows how to find SmartWebResources in WebUI Studio for ASP.Net documentation. Please feel free to let me know if you still have any difficulties to find/locate the documentation.
Where do I se if the app (in dev. machine) uses Smart Web Resources or not?
The image below shows WebSite using SmartWebResources.
While this one shows WebSite not using SmartWebResources.
disk-space on our server is no issue. Should I prefere using Smart Web Resources or not?
As best practice, it is highly recommended to enable SmartWebResources feature for all Intersoft's components. This will avoid developers to deals with the complexity in order to deploy their web application. For an instance, the JavaScript files, image, and other runtime client files need to be copied in order for the component to run properly.
Hope this helps.
Ok I switch to SmartWebResources fully:
<add key="ISNet.WebUI.ISRes_Registered" value="true" /> <add key="ISNet.WebUI.v3_0_5000.GroupCssStyles" value="true" /> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebAqua.v2_0_1000.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebInput.v4_0_7200.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebTextEditor.v2_0_1000.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebScheduler.v4_0_1000.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebGrid.v9_0_7200.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebEssentials.v3_0_1000.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebDesktop.v4_0_7200.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebCombo.v6_0_7200.EnableWebResources" value="Always"/> <add key="ISNet.WebUI.WebDesktop.V4_0_7200.RenderingMode" value="HTML5" /> <add key="ISNet.WebUI.WebGrid.v9_0_7200.RenderingMode" value="HTML5" /> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.RenderingMode" value="HTML5" /> <add key="ISNet.WebUI.WebCombo.v6_0_7200.RenderingMode" value="HTML5" /> <add key="ISNet.WebUI.WebInput.v4_0_7200.RenderingMode" value="HTML5" /> <add key="ISNet.WebUI.v3_0_5000.OptimizeCss" value="true" /> <add key="ISNet.WebUI.v3_0_5000.OptimizeCssName" value="true" /> <add key="ISNet.WebUI.WebDesktop.V4_0_2007.XmlCompressionEnabled" value="true" /> <add key="ISNet.WebUI.WebGrid.V9_0_7200.XmlCompressionEnabled" value="true" /> <add key="ISNet.WebUI.WebInput.v4_0_7200.XmlCompressionEnabled" value="true" /> <add key="ISNet.WebUI.WebCombo.v4_0_7200.XmlCompressionEnabled" value="true" />
BUT IE11 does not work. It manages to pass the login screen that actully has a WebDialogBox, but when it enters the page containing the treeview (Profiler.aspx) and web-combos it fails. Se attahced tow debug images. the A-image (NETWORK) doesnt show anything wrong I think. But take a look at B-image (CONSOLE). IE11 doesnt seem to find the individual Javascript functions in the SmartResources, althoug it GETs the .js files successfully. How come?
PS: After I removed compleetly CommonLibrary folder. IE11 stops on the first request to Intersoft resources:script>InitWebDialogBox('c_wdlgLogin') 'script' is undefinedBut Firefox and Chrome still work 100% ok.So the problem is that IE11 refuses to use the SmartWebResources, while Chrome and Firefox can use them when browsing the same web site. How can that be?
I can send you a login to the system if you provide me with avalid intersoftpt emal address. Then you can test for your self.Regards TJ
Please ensure following checklist when deploying WebSite/WebApp which employs Intersoft controls:
<system.webServer> <validation validateIntegratedModeConfiguration="false"/> <handlers> <add name="ISChart.axd_GET, POST" path="ISChart.axd" verb="GET, POST" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" preCondition="integratedMode"/> <add name="ISRes.axd_GET" path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" preCondition="integratedMode"/> <add name="WebFileUploaderHttpHandler.axd_GET" path="WebFileUploaderHttpHandler.axd" verb="GET" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpHandler, ISNet.WebUI.WebTextEditor" preCondition="integratedMode"/> </handlers> <modules> <add name="WebFileUploaderHttpModule_GET" preCondition="managedHandler" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpModule, ISNet.WebUI.WebTextEditor" /> </modules> </system.webServer>
<location path="ISRes.axd"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>
I still have some IE11 issues on the deployment server regarding WebFlyPostManager and WebContextMenu, but I will try to solve those before bugging IntersoftPT tech support any further.Thank you for all the help.
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