Name | Description |
---|---|
Namespace Westwind.Web.Controls 7/15/2008 | This topic tree describes the Westwind.Web.Controls namespace. |
Namespace Westwind.Tools 7/15/2008 | This topic tree describes the Westwind.Tools namespace. |
Class ScriptContainer 7/15/2008 | Class that provides script embedding functionality to ASP.NET pages. Features include the ability to use ResolveUrl style src urls to place script includes inline (to the control), in the Header or using standard ASP.NET ClientScript or ScriptManager. The control can also optimize scripts if a .min.js script file is available by using the AllowMinScript property on the script. |
ScriptContainer.Current 7/15/2008 | Returns a current instance of this control if an instance is already loaded on the page. Otherwise a new instance is created, added to the Form and returned. |
How ScriptVariables works 7/15/2008 | Provides an easy way for server code to publish .NET values into JavaScript script code as an encapsulated object. This object basically provides a mechanism for adding key value pairs and embedding those values into an object that is hosted on the client. Optionally the client values can update the server code on a postback. |
Class JavaScriptMinifier 7/15/2008 | JavaScript minifier strips white space and comments from JavaScript code. Based on Douglas Crockford's JavaScript Minifier with some modification to support string and StreamReader conversions. |
Support 7/15/2008 | This control is not officially supported although I will do my best to answer questions, comments, fixes etc. You can post anything related to the control here: |
JavaScriptMinifier.MinifyDirectory 7/15/2008 | Minifies all JavaScript files in a given directory and writes out the minified files to a new file extensions (.min.js for example). |
JavaScriptMinifier.Minify 7/15/2008 | Minifies a source file into a target file. |
JavaScriptMinifier.MinifyString 7/15/2008 | Minifies a JavaScript code string into a minified string. |
JavaScriptMinifier Constructor 7/15/2008 | |
Class ScriptVariables 7/15/2008 | Provides an easy way for server code to publish strings into client script code. This object basically provides a mechanism for adding key value pairs and embedding those values into an object that is hosted on the client. |
ScriptVariables.GetValue 7/15/2008 | |
ScriptVariables.GetItemValue 7/15/2008 | |
ScriptVariables.Add 7/15/2008 | Adds a property and value to the client side object to be rendered into JavaScript code. VariableName becomes a property on the object and the value will be properly converted into JavaScript Compatible text. |
ScriptVariables.AddDynamicValue 7/15/2008 | Adds the dynamic value of a control or any object's property that is picked up just before rendering. |
ScriptVariables.AddClientIds 7/15/2008 | Adds all the client ids for a container as properties of the client object. The name of the property is the ID + "Id" Example: txtNameId |
ScriptVariables.AddClientIds 7/15/2008 | Adds all the client ids for a container as properties of the client object. The name of the property is the ID + "Id" Example: txtNameId This version only retrieves ids for the specified container level - no hierarchical recursion of controls is performed. |
ScriptVariables.AddScriptBefore 7/15/2008 | Any custom JavaScript code that is to immediately preceed the client object declaration. This allows setting up of namespaces if necesary for scoping. |
ScriptVariables.AddScriptAfter 7/15/2008 | Any custom JavaScript code that is to immediately follow the client object declaration. This allows setting up of namespaces if necesary for scoping. |
ScriptVariables Constructor 7/15/2008 | Full constructor that receives an instance of any control object and the client name of the generated script object that contains the specified properties. |
ScriptVariables Constructor 7/15/2008 | This constructor only takes an instance of a Control. The name of the client object will be serverVars. |
ScriptVariables Constructor 7/15/2008 | This constructor can only be called AFTER a page instance has been created. This means OnInit() or later, but not in the constructor of the page. |
ScriptVariables.ClientObjectName 7/15/2008 | The name of the object generated in client script code |
ScriptVariables.AutoRenderClientScript 7/15/2008 | Determines whether the output object script is rendered automatically as part of Page PreRenderComplete. If false you can manually call the RenderClientScript() method to retrieve the script and embed it yourself. |
ScriptVariables.UpdateMode 7/15/2008 | Determines how updates to the server from the client are performed. If enabled changes to the client side properties post back to the server on a full Postback. |
JavaScript Resource GZip Compression 7/15/2008 | This component library includes a JavaScript compression module that can be used to reduce the footprint of the main wwScriptLibrary.js library and any other script resource. To use this component you need to enable the Module in web.config: |
JavaScript Client Classes 7/11/2008 | The AJAX classes utilize a relatively small script library to provide the client side application services for the various controls. The library addresses several areas: |
Client Class wwUtils 7/8/2008 | Class with a few utility functions that are used throughout the library. |
Global Functions and Objects 7/8/2008 | The library also includes a handful of global functions that are provided as wrappers for other functionality in easy to use single line command style syntax. |
Date Class Extensions 7/8/2008 | Extends the JavaScript Date class. |
String Class Extensions 7/8/2008 | Provides various extensions to the JavaScript String class. |
Number Class Extensions 7/8/2008 | Extends the JavaScript Number class with methods that act on the the number instance. |
String.format 7/8/2008 | Provides a very simplistic C# like string.Format functionality. |
Number.formatNumber 7/8/2008 | Basic number formatting features. Only a very limited of common decimal formatting options are provided for numbers are provided. |