메소드 | 설명 | |
---|---|---|
AddJQueryReference ( ) : void |
Adds the a reference to jQuery.
|
|
AddJavaScriptResource ( |
Adds a reference to the JavaScript (embedded) resource with the given scriptName to the given page.
|
|
GetBooleanSetting ( IDictionary settings, string settingName, bool defaultValue ) : bool |
Gets the given setting as a bool, or defaultValue if the setting hasn't been set.
|
|
GetStringSetting ( |
Gets the given setting as a string, or defaultValue if the setting is not set.
|
메소드 | 설명 | |
---|---|---|
GetJavaScriptResourceName ( string scriptName ) : string |
Gets the full name of the JavaScript (embedded) resource with the given name, providing a debug version if compiled in Debug mode, and a minified version in Release mode.
|
public static AddJavaScriptResource ( |
||
page | The page to which the reference needs to be added. | |
scriptName | string | Name of the script (without file extension). |
리턴 | void |
public static GetBooleanSetting ( IDictionary settings, string settingName, bool defaultValue ) : bool | ||
settings | IDictionary | The settings collection. |
settingName | string | Name of the setting. |
defaultValue | bool | The default value. |
리턴 | bool |
public static GetStringSetting ( |
||
settings | The settings collection. | |
settingName | string | Name of the setting. |
defaultValue | string | The default value. |
리턴 | string |