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
translatedTextstring- The translated text.
boxWidthstring- Width of the box.
cssClassstring- 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
methodTypestring- Type of the method.
methodIdstring- The method id.
countryIdstring- 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
methodCodestring- 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
methodCodestring- The country code.
advancedLayoutbool- if set to
true[advanced layout]. fieldPostFixstring- 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
methodCodestring- The country code.
advancedLayoutbool- if set to
true[advanced layout]. fieldPostFixstring- The field post fix.
disabledbool- 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
selectedCsvstring- 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
selectedCsvstring- The selected CSV.
inputFieldNamestring- Name of the input field.
removeJsFunctionstring- 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
selectedCsvstring- The selected CSV.
inputFieldNamestring- Name of the input field.
removeJsFunctionstring- The remove js function.
altPostFixRemoveIdstring- The alt post fix remove ID.
Returns
Loader(string)
Shows default eCommercer loader animation
public static void Loader(string elementName)
Parameters
elementNamestring- Name of the element.
Loader(string, bool, string)
Shows default eCommercer loader animation
public static void Loader(string elementName, bool clearCache, string headerStr)
Parameters
elementNamestring- Name of the element.
clearCachebool- if set to
true[clear cache]. headerStrstring- The header STR.
SaveFeeData(string)
Saves the fee data.
[Obsolete("Deprecated")]
public static void SaveFeeData(string preFix)
Parameters
preFixstring- The pre fix.
SaveFeeData(string, string)
Saves the fee data.
[Obsolete("Deprecated")]
public static void SaveFeeData(string preFix, string methodId)