MagicUtils Members
The MagicUtils type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
AnchorElement |
Create an Anchor Element
|
![]() ![]() |
capAndTrunc |
Caps and trunk a string.
|
![]() ![]() |
ColorLighten |
Lighten color.
|
![]() ![]() |
CreateRandomPassword |
Creates a random password.
|
![]() ![]() |
CreateUniqueFileName |
Creates an unique file name.
|
![]() ![]() |
FileSizeToStr |
Files size pretty formatted to string.
|
![]() ![]() |
getImageList(String, Boolean) |
Gets the image list from folder.
|
![]() ![]() |
getImageList(String) |
Gets the image list from folder.
|
![]() ![]() |
HTMLElement(String, String, String, String) |
Create an HTML element.
|
![]() ![]() |
HTMLElement(String, String, String) |
Create an HTML element.
|
![]() ![]() |
HTMLElement(String, String) |
Create an HTML element.
|
![]() ![]() |
isMobileBrowser |
Determines whether is mobile browser.
|
![]() ![]() |
LoadScript |
Loads a script avoiding to load already loaded scripts.
|
![]() ![]() |
nullToStr(String) |
Convert null string to empty string.
|
![]() ![]() |
nullToStr(String, String) |
Convert null string to string.
|
![]() ![]() |
ParseISO8601String | |
![]() ![]() |
RenderControlToString |
Convert a Web Control or HTML Control to string
|
![]() ![]() |
strToJSON(Object) |
Strings to json.
|
![]() ![]() |
strToJSON(String) |
Strings to json.
|
Properties
Name | Description | |
---|---|---|
![]() ![]() |
MagicAllowedFiletypes |
Gets the allowed file types from Web.config.
|
![]() ![]() |
MagicConnectionString |
Gets the connection string from Web.config.
|