Search KB Filter article types
How to use Visual WebGui sources
In this tutorial we will learn how to use Visual WebGui source code instead of the pre-compiled DLLs to developed and to extend Visual WebGui applications and abilities.
Categories: Introduction
Tags: Developers, 2. Intermediate, 3. Advanced, Customization, Pre v6.3, v6.3, v6.4 and Later
Revision: 1
Posted: 02/Jan/2009
Updated: 02/Jan/2009
Status: Publish
Types: Article

In this tutorial we will learn how to use Visual WebGui source code instead of the pre-compiled DLLs to developed and to extend Visual WebGui applications and abilities.
Working with the source code instead of working with the pre-compiled DLLs enables you to change VWG code to fit your needs.

If you are using VWG v6.4 of revision VWG v6.4 Preview3 or a later version, you will also need the "Preperations - required for 6.4.0P3 and later versions" section of this Wiki article here.

First lets see how do we get the source code. There are two ways to get VWG source code.
The first is to download the code from Visual WebGui's site here is the link for the latest version. You can download and install the required VWG by selecting the type of installation that fits you. Make sure that you select a download that has sources like "VWG SDK for .NET 2.0 w/ Sources".
The second way to get VWG source code is to download it from our SVN. you can read how to download the code form the SVN in this tutorial on how to submit VWG code patch.

Once you have the source code lets open the installation / SVN download folder and see the result (there might be a slight difference between the amount of projects that were downloaded between the installation and the SVN ).

Let's open "Core" solution and build the application and create the DLL's needed to create a VWG application. Once the build process is over (and succeeded) Open the bin folder of the Gizmox.WebGUI.Forms.References project. In the bin folder of this project you will find all the DLL's that you need to create a VWG application.

Lets create a new Visual WebGui application

If you haven't installed the VWG project templates take a look at this tutorial on how to create a Visual WebGui project from an ASP.Net project this should bring you to the same point.

In a usual VWG installation this templates works just like that and you can open the designer and start working. But because this is Source installation we need to add a few DLL's before we open the designer.

Right click on the project and select add reference and add this assembles "Gizmox.WebGUI.Client", "Gizmox.WebGUI.Common.Design", "Gizmox.WebGUI.Forms.Design".

Now you are ready to work with Visual WebGui sources. Every update that you will do in the core solution will be available in the VWG project that you created.
Make sure that you close your project solution before working on the core to avoid designer problems from updating the Designer DLLs.

After you make changes in the core solution and building it reopen your project solution and update the private version of the project to update cached resources like js files and images. You can do this by opening the property page of the project and change the private version number in the general tab.

Or by changing it manually in the web config file

 

 

<PrivateVersion Value="121" />

 

-- Eyal Albert @ Eyal.Albert (at) Gizmox.com

About the author

Related Articles

Introduction  
Title Update Author
Silverlight controls
Tags: Developers, 1. Beginner, 2. Intermediate, 3. Advanced, Silverlight, Pre v6.3, v6.3
07/Jan/2008    2008/01/07
In this “How To” we are going to learn how to use Visual WebGui open source project to create a code patch fixing a bug you have found or a feature you have created and would like to add.
Tags: Developers, 3. Advanced, Customization, Pre v6.3, v6.3, v6.4 and Later
07/Jan/2008    2008/01/07
Tags: Developers, Data Binding, Navigation, 1. Beginner, 2. Intermediate, Data Binding, Navigation, ASP.NET, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
11/Jan/2009    2009/01/11
Abstract: The Web, Cloud and SaaS models are changing the computing world forever, and us, the developers will have to adjust and serve this trend. One of the biggest challenges is moving software assets that were developed for desktop architecture to the new deployment models. Just imagine that you...
Tags: Architects, CIOs, Developers, C#, 1. Beginner, 2. Intermediate, 3. Advanced, Windows Forms, Pre v6.3, v6.3, v6.4 and Later
07/Jan/2010    2010/01/07
In this How to we are going to learn how to develop a Visual WebGui application without the use of a form designer.
Tags: Developers, 1. Beginner, 2. Intermediate, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
02/Jan/2009    2009/01/02
Tune in to this Free webcast and learn how Visual WebGui solves all the pains of Rich Internet application development. Learn how Visual WebGui bridges between the richness of .NET and the richness of HTML5. Learn how to be empowered by Visual WebGui to build rich enterprise-level Ajax based Web and...
Tags: Architects, Developers, Data Binding, Drag & Drop, Visual WebGui Pipeline, C#, CSS, HTML5, JavaScript, Visual Studio, XML, 1. Beginner, 2. Intermediate, 3. Advanced, Customization, Data Binding, Layouting, HTML5, jQuery, v6.4 and Later
30/May/2011    2011/05/30
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS