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
AlertMessageBox(string, string)
Creates a nice formated alertbox (NOT Javascript)
public static string AlertMessageBox(string translatedText, string boxWidth)
Parameters
Returns
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
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
CountryFeeData(string, string, string, string)
[Obsolete("Deprecated")]
public static string CountryFeeData(string methodType, string methodId, string countryId, string regionId)
Parameters
Returns
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
CountryRelDefaultData(string, bool)
Country relation selector for payment and shipping. Set default data UI.
public static string CountryRelDefaultData(string methodCode, bool advancedLayout)
Parameters
Returns
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
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
GetDimensionsUnit()
Gets the weight unit text from global settings.
public static string GetDimensionsUnit()
Returns
GetVolumeUnit()
Gets the volume unit text from global settings.
public static string GetVolumeUnit()
Returns
GetWeightUnit()
Gets the weight unit text from global settings.
public static string GetWeightUnit()
Returns
GroupListData(string)
Show a UI list of product groups.
public static string GroupListData(string selectedCsv)
Parameters
selectedCsv
string- The selected CSV.
Returns
GroupListData(string, string)
Show a UI list of product groups.
public static string GroupListData(string selectedCsv, string inputFieldName)
Parameters
Returns
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
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
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)