Quantcast
Channel: ajaxcontrol Wiki Rss Feed
Viewing all articles
Browse latest Browse all 20

Updated Wiki: JavaScript Build Provider

$
0
0
** Incomplete


Script Directive Guidelines

Directive Properties

  • Inherits

  • Language

  • Name
    • This property is ignored for .ascx.jsx and .aspx.jsx files where the full type name is used as the name of the script within the InternalScriptManager automatically.
    • Default Value:

  • Enabled
    • This property allows .jsx Scripts to be turned off globally within an ASP.NET application so that they will not be rendered to the page.
    • Possible Values: true, false
    • Default Value: true

  • AutoRender
    • This property is meant to allow for overriding the default behavior of the ScriptManager to automatically render a Script for .ascx.jsx or .aspx.jsx Template Control companion files. If "false" is specified, then the Script will not be rendered automatically and will require manual registration with the ScriptManager control via markup, or with the InternalScriptManager via code.
    • Possible Values: true, false
    • Default Value: true

  • Singleton
    • .
    • Possible Values: true, false
    • Default Value: true
(Maybe change this to "Type" with possible values: "Static" and "Dynamic")

  • RenderLocation
    • This property allows implementers to choose where the
    • Special Details: Unlike normal <Script> controls declared within a <ScriptManager>, .jsx Scripts cannot be rendered in-place. In other words, the "Here" option is not available as a location for rendering.
    • Possible Values: Head, Body
    • Default Value: Body

  • Dependencies
**
  • Possible Values: { The name of other .jsx Scripts or Scripts declared within ScriptManagers, where multiple names are separated by a comma (','). }

  • Type
    • Consider getting rid of this.


Directive Example

<%@ScriptInherits="Float.ucCssCodeRegion"Language="C#"Singleton="true"Type="File"AutoRender="false"Enabled="false"RenderLocation="Body"Name="ucCssCodeRegion"%>


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>