JavaScript
From Visual WebGui Wiki
| This article will have a few sections added to it soon, based on the following article type skeleton: NewCodeSampleTemplate |
Contents |
Overview
JavaScript is used behind the scenes in Visual WebGui in it's controls. It is also used in many of the Custom Controls you create and can be used in controls like HtmlBox, AspPageBox etc.
This article is a collection of references to JavaScript usage, as well as some code samples for it's use.
See also
- Callback to Server-Side - Custom Client Events
- AspPageBox
- Communicate with hosting Visual WebGui application from a WebForm within an AspPageBox
- HtmlBox
- Custom Controls
- JQuery
Tips
- Show browser's time zone settings by entering the following in the location or address bar of the browser:
javascript:alert(new%20Date())
Rererences
Forum discussons
- How to integrate JavaScript into Visual WebGui applications
- JavaScript interaction between multiple browser windows
- Raising events from within the ASP.NET client to update contents of Visual WebGui application - CreateEvent/RaiseEvent dummyevent
- Raising events in AspPageBox and here
- Trigger a Visual WebGui ShowDialog from .aspx page
- Injecting JavaScript into the HEAD element of a wrapped control
- Injecting JavaScript
- Using InvokeMethod to call JavaScript functions
- Create a JavaScript "fakeevent" to force upate from client to server
- Using Data_GetAttribute and Data_SetAttribute to retrieve property values in JS code
- JavaScript in HTMLbox
- Printing just the contents of an HtmlBox by calling window.print on just the HtmlBox's IFRAME
- Calling JavaScript functions from Custom Controls
- Getting to your Class attributes from JavaScript functions
- Adding JavaScript to obtain the text from the client's ClipBoard
- Getting to and changing contents of Visual WebGui control using JavaScript
- Overriding default browser F12 key behaviour (overriding the default browser's function keys) - includes a codesample
- Invoke the Click event of a hidden LinkLabel on an Aspx page
- Intercepting Keydown on a form to filter special keys or prevent their event bubbling (code sample here)
Other references
- DottorO JavaScript Html/JavaScript/CSS reference with browser differences as well as tips and tricks
- JSFiddle - JavaScript online playground
- JavaScript programmer's reference
- Getting Window sizes and Scrollbar positions
- Regular expression online learning and evaluation
- Reading web.config configuration settings via JavaScript
- Ideas for simulating SuspendLayout/ResumeLayout in JavaScript DOM interaction
- SyntaxHighlighter - an Open Source syntax highilghting JavaScript library - used within a Visual WebGui HtmlBox
- Showing a loading message and gif using a second div element and switch after load
- Valums.com various JavaScript links (image galleries, upload, scrolling etc.)
