• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class jQuery

Inheritance
System.Object
jQuery
Namespace: DotNetNuke.Framework
Assembly: DotNetNuke.dll
Syntax
public class jQuery : object

Fields

| Improve this Doc View Source

DefaultHostedUrl

Returns the default URL for a hosted version of the jQuery script.

Declaration
public const string DefaultHostedUrl = null
Field Value
Type Description
System.String
Remarks

Google hosts versions of many popular javascript libraries on their CDN. Using the hosted version increases the likelihood that the file is already cached in the user's browser.

| Improve this Doc View Source

DefaultUIHostedUrl

Declaration
public const string DefaultUIHostedUrl = null
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

AreDnnPluginsRequested

Declaration
public static bool AreDnnPluginsRequested { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HostedMigrateUrl

Gets the HostSetting for the URL of the hosted version of the jQuery migrated script.

Declaration
public static string HostedMigrateUrl { get; }
Property Value
Type Description
System.String

The HostSetting for the URL of the hosted version of the jQuery migrated script.

Remarks

This is a simple wrapper around the Host.jQueryUrl property.

| Improve this Doc View Source

HostedUIUrl

Gets the HostSetting for the URL of the hosted version of the jQuery UI script.

Declaration
public static string HostedUIUrl { get; }
Property Value
Type Description
System.String

The HostSetting for the URL of the hosted version of the jQuery UI script.

Remarks

This is a simple wrapper around the Host.jQueryUIUrl property.

| Improve this Doc View Source

HostedUrl

Gets the HostSetting for the URL of the hosted version of the jQuery script.

Declaration
public static string HostedUrl { get; }
Property Value
Type Description
System.String

The HostSetting for the URL of the hosted version of the jQuery script.

Remarks

This is a simple wrapper around the Host.jQueryUrl property.

| Improve this Doc View Source

IsHoverIntentRequested

Declaration
public static bool IsHoverIntentRequested { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsInstalled

Gets a value indicating whether checks whether the jQuery core script file exists locally.

Declaration
public static bool IsInstalled { get; }
Property Value
Type Description
System.Boolean
Remarks

This property checks for both the minified version and the full uncompressed version of jQuery. These files should exist in the /Resources/Shared/Scripts/jquery directory.

| Improve this Doc View Source

IsRequested

Declaration
public static bool IsRequested { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsUIInstalled

Gets a value indicating whether checks whether the jQuery UI core script file exists locally.

Declaration
public static bool IsUIInstalled { get; }
Property Value
Type Description
System.Boolean
Remarks

This property checks for both the minified version and the full uncompressed version of jQuery UI. These files should exist in the /Resources/Shared/Scripts/jquery directory.

| Improve this Doc View Source

IsUIRequested

Declaration
public static bool IsUIRequested { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

UIVersion

Gets the version string for the local jQuery UI script.

Declaration
public static string UIVersion { get; }
Property Value
Type Description
System.String

The version string for the local jQuery UI script.

Remarks

This only evaluates the version in the full jQuery UI file and assumes that the minified script is the same version as the full script.

| Improve this Doc View Source

UseDebugScript

Gets a value indicating whether gets the HostSetting to determine if we should use the standard jQuery script or the minified jQuery script.

Declaration
public static bool UseDebugScript { get; }
Property Value
Type Description
System.Boolean

The HostSetting to determine if we should use the standard jQuery script or the minified jQuery script.

Remarks

This is a simple wrapper around the Host.jQueryDebug property.

| Improve this Doc View Source

UseHostedScript

Gets a value indicating whether gets the HostSetting to determine if we should use a hosted version of the jQuery script.

Declaration
public static bool UseHostedScript { get; }
Property Value
Type Description
System.Boolean

The HostSetting to determine if we should use a hosted version of the jQuery script.

Remarks

This is a simple wrapper around the Host.jQueryHosted property.

| Improve this Doc View Source

Version

Gets the version string for the local jQuery script.

Declaration
public static string Version { get; }
Property Value
Type Description
System.String

The version string for the local jQuery script.

Remarks

This only evaluates the version in the full jQuery file and assumes that the minified script is the same version as the full script.

Methods

| Improve this Doc View Source

GetJQueryMigrateScriptReference()

Declaration
public static string GetJQueryMigrateScriptReference()
Returns
Type Description
System.String
| Improve this Doc View Source

GetJQueryScriptReference()

Declaration
public static string GetJQueryScriptReference()
Returns
Type Description
System.String
| Improve this Doc View Source

GetJQueryUIScriptReference()

Declaration
public static string GetJQueryUIScriptReference()
Returns
Type Description
System.String
| Improve this Doc View Source

JQueryFile(Boolean)

Declaration
public static string JQueryFile(bool getMinFile)
Parameters
Type Name Description
System.Boolean getMinFile
Returns
Type Description
System.String
| Improve this Doc View Source

JQueryFileMapPath(Boolean)

Declaration
public static string JQueryFileMapPath(bool getMinFile)
Parameters
Type Name Description
System.Boolean getMinFile
Returns
Type Description
System.String
| Improve this Doc View Source

JQueryMigrateFile(Boolean)

Declaration
public static string JQueryMigrateFile(bool getMinFile)
Parameters
Type Name Description
System.Boolean getMinFile
Returns
Type Description
System.String
| Improve this Doc View Source

JQueryUIFile(Boolean)

Declaration
public static string JQueryUIFile(bool getMinFile)
Parameters
Type Name Description
System.Boolean getMinFile
Returns
Type Description
System.String
| Improve this Doc View Source

JQueryUIFileMapPath(Boolean)

Declaration
public static string JQueryUIFileMapPath(bool getMinFile)
Parameters
Type Name Description
System.Boolean getMinFile
Returns
Type Description
System.String
| Improve this Doc View Source

KeepAlive(Page)

Active the page with keep alive, so that authentication will not expire.

Declaration
public static void KeepAlive(Page page)
Parameters
Type Name Description
Page page

The page instance.

| Improve this Doc View Source

RegisterDnnJQueryPlugins(Page)

Declaration
public static void RegisterDnnJQueryPlugins(Page page)
Parameters
Type Name Description
Page page
| Improve this Doc View Source

RegisterFileUpload(Page)

Declaration
public static void RegisterFileUpload(Page page)
Parameters
Type Name Description
Page page
| Improve this Doc View Source

RegisterHoverIntent(Page)

Declaration
public static void RegisterHoverIntent(Page page)
Parameters
Type Name Description
Page page
| Improve this Doc View Source

RegisterJQuery(Page)

Declaration
public static void RegisterJQuery(Page page)
Parameters
Type Name Description
Page page
| Improve this Doc View Source

RegisterJQueryUI(Page)

Declaration
public static void RegisterJQueryUI(Page page)
Parameters
Type Name Description
Page page
| Improve this Doc View Source

RequestDnnPluginsRegistration()

Declaration
public static void RequestDnnPluginsRegistration()
| Improve this Doc View Source

RequestHoverIntentRegistration()

Declaration
public static void RequestHoverIntentRegistration()
| Improve this Doc View Source

RequestRegistration()

Declaration
public static void RequestRegistration()
| Improve this Doc View Source

RequestUIRegistration()

Declaration
public static void RequestUIRegistration()

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS