User Profile & Activity

Product Support Moderator
Page
of 22
Posted: August 20, 2009 9:33 AM

Vincenzo, what WebGrid version are you using currently? 

Posted: August 20, 2009 9:16 AM

Vincenzo,

When you set a cell as not editable at client-side, please use SetForceNoEdit() method instead of setting the property.

With the method call, it will properly mark the cell as not editable, which will then be skipped by WebGrid during keyboard navigation (such as when pressing tab).

Let me know how it goes at your end.

Posted: August 20, 2009 7:54 AM

Hi Xedem,

The Move method of WebMenuItem has a known issue which caused items to be incorrectly positioned after the third call.

This issue has been fixed with bug# 366, and will be included in the upcoming service pack.

Hope this helps.

Posted: August 20, 2009 4:26 AM

Hello Giuseppe,

Did you install our products in the deployment server using installer?  

Also, have you specified the RuntimeLicenseKey for WebGrid licensing in your web.config?

Our all products used Minimal trust in deployment through AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal) attribute. Thus, it should be no problems hosting in your medium trusted server.

Hello Madhavan,

Yes, we've noticed this issue since the release of Safari 4.0.3. The fix will be included in WebUI Studio 2009 Service Pack 1 coming up next week.

Thanks!

Posted: August 20, 2009 12:45 AM

Dan, thanks for sharing your results. It's great to see the compression worked at 72% level for you.

Several points for your questions:

  • The ISRes_Compressed variable is cached internally for performance reason. So it may have no effect after you set it to false without restarting the application pool. However, you should still use the "true" value to ensure it works across application restarts.
  • IIS Compression checks for the response filter when ASP.NET passed the final output stream to the IIS 7 handler. When IIS 7 detected that the response is already compressed, it won't go for another compression to avoid redundant compression. Smart logic.
  • The duplicate javascript requests is due to the different version being requested, not because of the capitalization. For example, notice that WebAnimation.js is requested twice, one is for version 2.5, and another is for version 3.0. The number behind the request name indicates its requested version.

    That said, could you ensure that you have used all 2009 products? eg, use WebDesktop 3 assemblies instead of 2.5? If you've used all latest products and there are still request for version 2.5, then we will investigate it at our product level.

Another interesting point regarding Javascript caching: SmartWebResources will automatically cache the javascript and other resources in the client browsers when your application is running in the production server (eg, compilation debug="false" in web.config). So the answer is yes, and it's automatic, so there're no efforts needed at your end for the caching.

The built-in cache setting sets the expiration to occur when the files are modified since last access (based on modified date of each resource).

Let me know if you have other questions. Thanks!

Posted: August 19, 2009 10:55 PM

Dan, the client binding should give 80% less footprint when compared apple-to-apple (both uncompressed).

Yes, the JSON data should be compressed as well when you turned on IIS dynamic compression. A quick question, did you test our sample from the live sample/C# samples installed in your development machine? Please note that these samples are running from WebDevServer (file system mode), not IIS 7.

Let me know if you still unable to get the compression works in IIS 7 mode with compression enabled.

Hope this helps.

Posted: August 19, 2009 11:23 AM

Agustin, you can try to use grid.RootTable.Rows[0].Expanded property to determine whether a row is expanded or not.

The value of this property also depends on when it's accessed. It might not be available in AJAX context for built-in data operations. 

Do you access it in Page_Load after a full postback or in initial load?

Posted: August 19, 2009 1:42 AM

What is the expected javascript footprint for a page that uses all four of these features: grid, combo, web dialog box, and web imput?

We purchased the latest version of the grid specifically because of this new compression feature and we need to have it work for us.

 A note regarding the compression level, the SmartWebResources compression feature used medium compression level to have a good balance between output and performance.

In most cases (and per my inspection on each compressed script), the average compression is at 75% level. That means, if the total size of uncompressed scripts is 1.5MB, then you can expect the total size after compression to be approximately 375 - 400 KB.

Please let me know how you find the results at your end. 

Posted: August 19, 2009 1:22 AM

Dan, thanks for your response.

Here are the answers to your questions:

  1. Yes, this feature is actually a late-breaking enhancement that we added in 2009 release. We plan to cover some of the new late-breaking features through interactive medias such as blogs and community, and then sum them up in the next release's documentation.

    Here are some details for the compression feature:
    • This feature can be used together with other settings such as Xml Compression and CSS Compression.  
    • This feature works in conjunction with SmartWebResources feature. So, make sure you have configured SmartWebResources properly. Click here to learn how to configure SmartWebResources, and here to ensure it's working.
    • When enabled, it used server-side resources to perform the compression. It does use a bit of the server-side CPU processing and memory for the compression. But our testing indicates the resources usage is still under acceptable range with decent performance.
    • As for the client-side, the performance and memory usage is almost not noticable since the compression feature is built natively in the browser.

  2. The Deployment Manager documentation can be found here.
  3. I'm not quite sure if you can see the compression results in the Safari browser without external plug-in, although I'm pretty sure Safari has supported gzip compression since its earlier version. However, you can check the compression results using IE7 or IE8, or Firefox browsers. When using IE, make sure you have HttpWatch installed in your development machine.

    The following screenshot shows how the compression results look like when you're using IE and HttpWatch. Notice on the red-highlighted shape for the compression results.

     

Hope this helps. Let me know if you have more questions regarding this compression feature, and also how it goes at your end.

All times are GMT -5. The time now is 3:26 PM.
Previous Next