Table of Contents

Class Gui

Namespace
Dynamicweb.Ecommerce.Common
Assembly
Dynamicweb.Ecommerce.dll
[Obsolete]
public class Gui
Inheritance
Gui
Inherited Members

Methods

AccessDbAlert()

Renders javascript alert for use of ms access with eCommerce.
public static string AccessDbAlert()

Returns

string

AlertMessageBox(string, string)

Creates a nice formated alertbox (NOT Javascript)
public static string AlertMessageBox(string translatedText, string boxWidth)

Parameters

translatedText string
The translated text.
boxWidth string
Width of the box.

Returns

string

AlertMessageBox(string, string, string)

Creates a nice formated alertbox (NOT Javascript)
public static string AlertMessageBox(string translatedText, string boxWidth, string cssClass)

Parameters

translatedText string
The translated text.
boxWidth string
Width of the box.
cssClass string
The CSS class.

Returns

string

ClearBrowserCache()

Clears the browser cache. Uses the response cache control
public static void ClearBrowserCache()

CountryFeeData(string, string, string)

Renders country fee matrix UI.
[Obsolete("Deprecated")]
public static string CountryFeeData(string methodType, string methodId, string countryId)

Parameters

methodType string
Type of the method.
methodId string
The method id.
countryId string
The country id.

Returns

string

CountryFeeData(string, string, string, string)

[Obsolete("Deprecated")]
public static string CountryFeeData(string methodType, string methodId, string countryId, string regionId)

Parameters

methodType string
methodId string
countryId string
regionId string

Returns

string

CountryRelDefaultData(string)

Country relation selector for payment and shipping. Set default data UI.
public static string CountryRelDefaultData(string methodCode)

Parameters

methodCode string
The country code.

Returns

string

CountryRelDefaultData(string, bool)

Country relation selector for payment and shipping. Set default data UI.
public static string CountryRelDefaultData(string methodCode, bool advancedLayout)

Parameters

methodCode string
The country code.
advancedLayout bool
if set to true [advanced layout].

Returns

string

CountryRelDefaultData(string, bool, string)

Country relation selector for payment and shipping. Set default data UI.
public static string CountryRelDefaultData(string methodCode, bool advancedLayout, string fieldPostFix)

Parameters

methodCode string
The country code.
advancedLayout bool
if set to true [advanced layout].
fieldPostFix string
The field post fix.

Returns

string

CountryRelDefaultData(string, bool, string, bool)

Country relation selector for payment and shipping. Set default data UI.
public static string CountryRelDefaultData(string methodCode, bool advancedLayout, string fieldPostFix, bool disabled)

Parameters

methodCode string
The country code.
advancedLayout bool
if set to true [advanced layout].
fieldPostFix string
The field post fix.
disabled bool
If the options should be disabled or not

Returns

string

GetDimensionsUnit()

Gets the weight unit text from global settings.
public static string GetDimensionsUnit()

Returns

string

GetVolumeUnit()

Gets the volume unit text from global settings.
public static string GetVolumeUnit()

Returns

string

GetWeightUnit()

Gets the weight unit text from global settings.
public static string GetWeightUnit()

Returns

string

GroupListData(string)

Show a UI list of product groups.
public static string GroupListData(string selectedCsv)

Parameters

selectedCsv string
The selected CSV.

Returns

string

GroupListData(string, string)

Show a UI list of product groups.
public static string GroupListData(string selectedCsv, string inputFieldName)

Parameters

selectedCsv string
The selected CSV.
inputFieldName string
Name of the input field.

Returns

string

GroupListData(string, string, string)

Show a UI list of product groups.
public static string GroupListData(string selectedCsv, string inputFieldName, string removeJsFunction)

Parameters

selectedCsv string
The selected CSV.
inputFieldName string
Name of the input field.
removeJsFunction string
The remove js function.

Returns

string

GroupListData(string, string, string, string)

Show a UI list of product groups.
public static string GroupListData(string selectedCsv, string inputFieldName, string removeJsFunction, string altPostFixRemoveId)

Parameters

selectedCsv string
The selected CSV.
inputFieldName string
Name of the input field.
removeJsFunction string
The remove js function.
altPostFixRemoveId string
The alt post fix remove ID.

Returns

string

Loader(string)

Shows default eCommercer loader animation
public static void Loader(string elementName)

Parameters

elementName string
Name of the element.

Loader(string, bool, string)

Shows default eCommercer loader animation
public static void Loader(string elementName, bool clearCache, string headerStr)

Parameters

elementName string
Name of the element.
clearCache bool
if set to true [clear cache].
headerStr string
The header STR.

SaveFeeData(string)

Saves the fee data.
[Obsolete("Deprecated")]
public static void SaveFeeData(string preFix)

Parameters

preFix string
The pre fix.

SaveFeeData(string, string)

Saves the fee data.
[Obsolete("Deprecated")]
public static void SaveFeeData(string preFix, string methodId)

Parameters

preFix string
The pre fix.
methodId string
The method id
To top