Class Utilities
Assembly: DotNetNuke.Web.dll
Syntax
Constructors
Utilities()
Declaration
Methods
ApplyControlSkin(Control, string, string)
Declaration
public static void ApplyControlSkin(Control targetControl, string controlSubSkinName = "", string controlName = "")
Parameters
ApplySkin(Control)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Telerik support will be removed in DNN Platform 10.0.0. Please use one of the ApplyControlSkin overloads if applicable to your implementation. Scheduled for removal in v10.0.0.")]
public static void ApplySkin(Control targetControl)
Parameters
Type |
Name |
Description |
Control |
targetControl |
|
ApplySkin(Control, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Telerik support will be removed in DNN Platform 10.0.0. Please use one of the ApplyControlSkin overloads if applicable to your implementation. Scheduled for removal in v10.0.0.")]
public static void ApplySkin(Control targetControl, string fallBackEmbeddedSkinName)
Parameters
Type |
Name |
Description |
Control |
targetControl |
|
string |
fallBackEmbeddedSkinName |
|
ApplySkin(Control, string, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Telerik support will be removed in DNN Platform 10.0.0. Please use one of the ApplyControlSkin overloads if applicable to your implementation. Scheduled for removal in v10.0.0.")]
public static void ApplySkin(Control targetControl, string fallBackEmbeddedSkinName, string controlName)
Parameters
ApplySkin(Control, string, string, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Telerik support will be removed in DNN Platform 10.0.0. Please use one of the ApplyControlSkin overloads if applicable to your implementation. Scheduled for removal in v10.0.0.")]
public static void ApplySkin(Control targetControl, string fallBackEmbeddedSkinName, string controlName, string webControlSkinSubFolderName)
Parameters
Type |
Name |
Description |
Control |
targetControl |
|
string |
fallBackEmbeddedSkinName |
|
string |
controlName |
|
string |
webControlSkinSubFolderName |
|
CreateThumbnail(FileInfo, Image, int, int)
Declaration
public static void CreateThumbnail(FileInfo image, Image img, int maxWidth, int maxHeight)
Parameters
GetClientAlert(Control, MessageWindowParameters)
Declaration
public static string GetClientAlert(Control ctrl, MessageWindowParameters message)
Parameters
Returns
GetClientAlert(Control, string)
Declaration
public static string GetClientAlert(Control ctrl, string message)
Parameters
Returns
GetLocalResourceFile(Control)
Declaration
public static string GetLocalResourceFile(Control ctrl)
Parameters
Returns
GetLocalizedString(string)
Declaration
public static string GetLocalizedString(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
GetLocalizedStringFromParent(string, Control)
Declaration
public static string GetLocalizedStringFromParent(string key, Control control)
Parameters
Returns
GetOnClientClickConfirm(Control, MessageWindowParameters)
Declaration
public static string GetOnClientClickConfirm(Control ctrl, MessageWindowParameters message)
Parameters
Returns
GetOnClientClickConfirm(Control, string)
Declaration
public static string GetOnClientClickConfirm(Control ctrl, string message)
Parameters
Returns
GetViewStateAsString(object, string)
Declaration
public static string GetViewStateAsString(object value, string defaultValue)
Parameters
Returns
RegisterAlertOnPageLoad(Control, MessageWindowParameters)
Declaration
public static void RegisterAlertOnPageLoad(Control ctrl, MessageWindowParameters message)
Parameters
RegisterAlertOnPageLoad(Control, string)
Declaration
public static void RegisterAlertOnPageLoad(Control ctrl, string message)
Parameters
Extension Methods