Creating a custom client side scripting component
Guy posted on July 05, 2007 :: 2595 views
This code sample contains an implementation of a VWG component that has a client side scripting file associated with it. The component enables to call client side java script from the server side code.
This sample simply calls a client side method from a button click event and raises the standard alert. I order to interact with the server side code from your client code you should raise a client side Visual WebGui event. Which in turn can update the UI according to the event.
Versions:
Download Code
Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Terms of Agreement:
By using this code, you agree to the following terms...
- You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
- You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
- You may link to this code from another website, but ONLY if it is not wrapped in a frame.
- You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.