Forum  General Visual ...  How do I...?  How can I use client side scripts
Previous Previous
 
Next Next
New Post 12/26/2008 3:43 PM
  palli
6087 posts
1st Level Poster




Re: How can I use client side scripts 

Hi !

I haven't tried the JS way of doing this, but as I see VWG, then one of it's main pros is being able to do something like that in server side code (in vb or C#), without going "downto" js or anything like that. That will mean roundtrip, yes, but still I have exactly that function implemented in one of my VWG apps for the VWG TreeView control, and my users are quite happy with it's performance.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 12/29/2008 12:25 AM
  ori.cohen
3523 posts
1st Level Poster




Re: How can I use client side scripts 

Hello,

Welcome to Visual WebGui!

Please try working with making the changes in server-side only. We have a very efficient platform using AJAX and many other performance enhancing features. If when benchmarking the application when using server-side code is much slower than you are willing to accept, that I guess you can try using client-side JS code.

Please remember that server-side state will not be updated with these changes made to the client through JS unless you create VWG events to notifiy the server of all these changes. If an event will not be create for every change, when refreshing the page or firing a critical event, all changes will be reverted and will also be completely unnoticed in server-side.

I noticed that you didn't change the javascript file's name to the name of the custom TreeView derivative. Please look at section 3 of my last post for further clarifications.
You can use that post as a reference, though at first read you shouldn't skip any part of that document.
Regards,

Ori Cohen
Manager of support, the Visual WebGui team

 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  How can I use client side scripts
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners