including effects, AJAX, basic event handlers, and many others. The bundled
to include on the page. For following example will include the "ajax" and "effects" library.
<com:TClientScript PradoScripts="ajax, effects" />
The available bundled libraries included in Prado are
- effects : visual effects from jQuery
- ajax : ajax and callback related based on jQuery
- validator : validation
- datepicker : datepicker
- colorpicker : colorpicker
Many of the libraries, such as validator and datepicker will automatically
when controls that uses these libraries are visible on the page. For example, all the
if they have their EnableClientScript set to true will include both the prado
The dependencies for each library are automatically resolved. That is,
specifying, say the "ajax", will also include the "prado" library.
"test.js" is relative the current template you are using. Since the property value is
dynamic asset tag, the file "test.js" will be published
automatically, that is, the file will be copied to the assets directory if necessary.
<com:TClientScript ScriptUrl=<%~ test.js %> />
the ScriptUrl property.
Any content within the TClientScript control tag will be considered as