Hi,
While running my project through Fiddler.i found out that there is a large size of data that is sent through WebResources.axd. When i openend the WebResources.axd, i found out that the images that are rendered for the WebTree is taking a lot of Size. When i save the page, the size of the Page is around 2-3MB. While examining the WebResources.axd, i found out the reason for the huge size is because i set the "WebTreeTarget" property as ClassicTree. When i changed that property to HierarchicalTree, the size of the page is around 1-1.5MB. I have a lot of Parent and Child nodes.. The following are the images that is passed in the WebResources.axd many time and also has a large size when the tree is a "ClassicTree"
1) ig_treeS.gif2) ig_treeT.gif3) ig_treeL.gif4) ig_treeI.gif5) ig_treeMminus.gif6) ig_treeMplus.gif7) ig_treeF.gif
These are some of the files that are related to Classical tree that take a large size. My Client want the tree to be as "ClassicTree". Is there a way to reduce the size of the data when using the "ClassicTree". Please tell me what to do?.. I have to give the project to my client very soon..
Thanks and Regards,Jollyguy
Did you find a resolution to this? I have the same issue. I would like to remove any reliance on webresources.axd as it slows down the page considerably.
Ian
Hello,
WebResource.axd is a handler that maps Web Requests to the dll assembly file (UltraWebNavigator.dll) - this way you can easily deploy the treeview in production, while the images are stored in the assembly itself (no dependency for external files).
As far as I can tell, images in DLL Resources are not slower than normal file system resources, but if you want to remove this dependency, please take a look at the following thread (the product mentioned there is Menu, but same principles apply)
http://forums.infragistics.com/forums/p/6462/27800.aspx#27800
Hope this helps.
Cool. Glad I was able to help and thanks for sharing your solution in forums - this will surely be helpful for other developers as well.
Thanks again.
Thanks Rumen.
This helped a lot for me. By adding:
ultrawebtree.WebTreeTarget = Infragistics.WebUI.UltraWebNavigator.WebTreeTarget.ClassicTree;ultrawebtree.EnableAppStyling = Infragistics.WebUI.Shared.DefaultableBoolean.True;ultrawebtree.ImageDirectory = "/Images";(including adding all tree images to the /Images folder)
It removed the reliance on webresource.axd, and reduced the source of my compiled form from 5.3MB to 1.9MB.