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

Class AJAX

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

Methods

| Improve this Doc View Source

AddScriptManager(Page, Boolean)

AddScriptManager is used internally by the framework to add a ScriptManager control to the page.

Declaration
public static void AddScriptManager(Page page, bool checkCdn)
Parameters
Type Name Description
Page page

the page instance.

System.Boolean checkCdn

Whether check cdn settings from host settings.

| Improve this Doc View Source

AddScriptManager(Page)

AddScriptManager is used internally by the framework to add a ScriptManager control to the page.

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

GetScriptManager(Page)

Gets the current ScriptManager on the page.

Declaration
public static ScriptManager GetScriptManager(Page objPage)
Parameters
Type Name Description
Page objPage

the page instance.

Returns
Type Description
ScriptManager

The ScriptManager instance, or null.

| Improve this Doc View Source

IsEnabled()

IsEnabled can be used to determine if AJAX has been enabled already as we only need one Script Manager per page.

Declaration
public static bool IsEnabled()
Returns
Type Description
System.Boolean

true if the current request has enabled the script manager, otherwise false.

| Improve this Doc View Source

IsInstalled()

IsInstalled can be used to determine if AJAX is installed on the server.

Declaration
public static bool IsInstalled()
Returns
Type Description
System.Boolean

true if ASP.NET AJAX is installed (always), otherwise false (never).

| Improve this Doc View Source

RegisterPostBackControl(Control)

Allows a control to be excluded from UpdatePanel async callback.

Declaration
public static void RegisterPostBackControl(Control objControl)
Parameters
Type Name Description
Control objControl
| Improve this Doc View Source

RegisterScriptManager()

RegisterScriptManager must be used by developers to instruct the framework that AJAX is required on the page.

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

RemoveScriptManager(Page)

RemoveScriptManager will remove the ScriptManager control during Page Render if the RegisterScriptManager has not been called.

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

WrapUpdatePanelControl(Control, Boolean)

Wraps a control in an update panel.

Declaration
public static Control WrapUpdatePanelControl(Control objControl, bool blnIncludeProgress)
Parameters
Type Name Description
Control objControl
System.Boolean blnIncludeProgress
Returns
Type Description
Control

The .

Extension Methods

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