User Profile & Activity

Shawn August Member
Page
of 19

Using file "Intersoft WebUI Studio 2009 R1 SP1 Web.exe", I get an error message that the downloaded data failed to load. I logged in and grabbed the large installer and it also does not install with an error message that the file is "corrupt".

Can you confirm?

Posted: December 4, 2009 9:14 AM

Hi Shawn,

I don't suggest you to use button for your scenario. But maybe use some options control such as DropDownList. Also it could not do in client side/flypostback. You will need to do this in FullPostBack.

Attached is my simple sample to show you how i bind it with another node. Hope this helps.

Regards,
Handy

 

I need to use a button. Why can't I use a WebButton or any other control that calls a POSTBACK and/or AJAX callback? I tried using FullPostback and the TreeView didn't update. I also tried using a standard ASP button but got the same result.


However, I can use a WebButton with FullPostback and update a WebTreeview if it is not integrated with a WebCombo. Can you please confirm?

Posted: December 3, 2009 10:17 AM

In order to get the correct length, please use the

ISGetObject("treePortfolioNav").Nodes[0].Get("Nodes").length

The GetArrayNodes function will load all the collection to the JS object. You could manually build the collection using the Get("Nodes") function.

 

The only reason why the GetArrayNodes is used is to ensure that the node.Nodes collection is properly populated.  Is there a timeline when this will be fixed? It's much cleaner to be able to use the node.Nodes collection instead of calling various methods.

Posted: December 2, 2009 2:46 PM

I found another bug. Similar to the page I modified above to illustrate another bug but this TreeView does not load on demand. Using the TreeView's Nodes property, only the first level exist. For example: 

ISGetObject("treePortfolioNav").Nodes .length (3 is returned; Correct value)

ISGetObject("treePortfolioNav").Nodes[0].Nodes.length (0 is returned; Incorrect value)

ISGetObject("treePortfolioNav").GetArrayNodes() (38 is returned;)

ISGetObject("treePortfolioNav").Nodes[0].Nodes.length  (2 is now returned; Correct value)

Why would GetArrayNodes cause the rest of the collection to "load"?

Posted: December 2, 2009 2:43 PM

EDIT: Removed

Hi Shawn,

It's true, but what we suspect is there's a conflict between your css with our control. For example in my end I used the same sample that I gave you and the performance didn't increase but when you tested and modified the sample by adding your css the performance is bad. That's why I suspect that probably there's a conflict between our control and your style but then again it's just my suspection.

Frankly say that I cannot replicate the issue in here without your css therefore I really need you to send the css that you add in my sample, if you dont want to send it by forum, you can send it to my email(handy@intersoftpt.com) so I can immediately replicate the issue and forward it to our development team so they can fix the issue.

Best Regards,

Handy

 

This is getting frustrating.  Please compare the original with the modified to see that the changes are not just CSS but I added a WebMenuBar, another WebPane, etc.. In fact, I removed the CSS that exists within the WebMenuBar so we can get away from blaming the CSS because the performance bug still increases from 4-5 seconds to nearly 25 seconds.

 

You have everything you need in the provided solution. You can replicate it in the solution very easily as I have explained in my posts above:

Compare the page load with and without the WebNavBar rendering (Set Visible=false). Confirm the performance bug exists.

Compare the page load with and without the WebGrid's AutoFitColumn property (true/false) with the WebNavBar rendering on the page. Confirm the performance bug exists.

Remove every CSS you can find in the WebNavBar and the WebGrid. NO EXTRA CSS. Confirm the performance bug exists.

 

If I remove the WebMenuBar, the performance comes back. However, I am still skeptical that other performance bugs exist. 

Hi,

For this time, I don't have any idea or workaround for this issue. As i told you that the styles could be affect the performace just like our previous issue in our previous product. If we could not replicate the issue in here, how can our developer team investigate your issue? I would need your cooperation by sending my last modified sample include all details such as CSS.

Regards,
Handy

 

You can reproduce the issue there. I modified your project a few posts above which shows the page's load time go from 5 seconds to 25 seconds.   I still am not sure if these performance issues are a result of CSS because of the following:

 

1)  Performance increases if the MenuNavBar control is removed.

2)  Performance increases if the MenuNavBar control is used but no items are added

3)  Performance issue if the MenuNavBar has only *1* item

4)  Performance increases if the WebGrid's AutoColumnFit property is set to true (This prompted me to create this thread until I found the MenuNavBar control issue). Does this property when set to true remove the CSS within the page?

5)  Downgraded the Intersoft 2009 R1 Refresh to Intersoft 2008 returns our application to acceptable levels without any other changes.

 

Please let me know if there is anything else I can do to help resolve these issues.

 

 

Ok. I understand your situation. As you can see in my recording, the performance works well, right?
In fact, I have used all latest hotfixes in this modified project. Also, after it got cache, the page is loaded just within 10s in my environment.
Please let me know your environment details (pc environment (32 bit or 64 bit) or the browser you used) and send me your html out put when you view source.
I got news from our developer that it's true that at the past, some styles can be slower performance at browser, that's what we fixed or changed at framework and Webdesktop level.

e.g at the past, there's an issue slow performance if WebMenuBar applied many styles.

Regards,
Handy

 

We run both 32 and 64 bit and typically use IE7-IE8.

 

Also, I don't think the problem here is styles (CSS) because this same code base was much faster in the 2008 RC release.  It was never "fast" but a 14 second to 1 minute+ performance increase is easily noticeable and not acceptable to our users.  Furthermore, if you remove the styles within the WebMenuBar, it is still slow.  It only becomes faster if you change the WebMenuBar's IntegratedTo or the WebGrid's AutoFitColumn property to true.  I am not sure how either of those would remove styles on the page.

It is also interesting to note that if you remove the code to dynamically add items to the WebMenuBar, it becomes faster again. Even *1* item in the WebMenuBar has a major performance hit.

At this point, we are in a criticial spot because we have a production release that includes the 2009 R1 SP1 Refresh and we cannot release it with these problems.

1) Do you have a workaround?

2) Do you have a timeline for when these bugs will be fixed?

 

Thank you for your help. It is very much appreciated.

FYI, in modified project which you sent me, the style is not rendered properly when not set to "None", because in your page, there is no PlaceHolderManager or WebDesktopManager at all. At least, you will need to add one. e.g Try to add PlaceHolderManager, set IntegratedTo "PlaceHolderManager", and fill PlaceHolder property with "PlaceHolderManager1". Please also apply the latest hotfix ( have just released).

Regards,
Handy

 

I am currently running the latest hotfix. The modified project that I sent you has the IntegratedTo set to "None" which renders properly but takes a very long amount of time. I made reference to that property to show that the page renders MUCH faster (But not with the specified style) when set to the other valid value. Perhaps this property is somehow related to the Grid's AutoColumn fit property as they both have a BIG effect on performance?  I prefer setting it to None and not having a DesktopManager or a PlaceHolder manager but open to anything if it resolves these issues.

Hi,

I ran the modified project you sent me. I wonder why the result is different from yours. Please see my recording. I never got 1 minute or something. Maybe your computer cache can affect on the performance or something. Please try to remove IE cache and asp.net cache at C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files. Then try to rerun again. For the first time maybe it would get slower because there is no cache of the current page. Please let me know an update that can help me more investigate the issue.

About the render issue, i can also replicate it. I will forward this to our developer. 

Regards,
Handy

 

The page that takes nearly 1 minute to load is another page within the application that is similiar to the modified project I sent.  I made reference to the load time to illustrate the performance problem that appears to be related to the WebDesktop (WebPaneManager/WebPane/WebMenuBar/etc.) and/or the WebGrid.  I am not sure where the problem is coming from but it's easily duplicated with that modified project. Again, I am not sure how it's related but the peformance problem goes away when the IntegratedTo property is removed (but the WebMenuBar style goes away) and/or the Grid's AutoFitColumn property is set to true (We prefer false to set our own widths).

Can you please reply with a timeline as this is very crucial to our application. We are currently planning to rollback the 2009 R1 SP1 release to the 2008 R2 that doesn't have these performance issues if there is no resolution within the next day or so.

 

All times are GMT -5. The time now is 10:38 AM.
Previous Next