public ActionResult BLS090_GenerateCurrencyNumericTextBox(string id, string value, string currency, bool readOnly)
        {
            string html = string.Empty;

            if (readOnly)
            {
                html = TextBoxHelper.NumericTextBoxWithMultipleCurrency(null, id, value, currency, new { style = "width: 140px;", @readonly = "readonly" }).ToString();
            }
            else
            {
                html = TextBoxHelper.NumericTextBoxWithMultipleCurrency(null, id, value, currency, new { style = "width: 140px;", }).ToString();
            }
            return(Json(html));
        }
        public ActionResult IVS012_GenerateCurrencyNumericTextBox(string id, string currency, string textboxValue, bool enable)
        {
            string html = "";

            if (enable)
            {
                html = TextBoxHelper.NumericTextBoxWithMultipleCurrency(null, id, textboxValue, currency, new { style = "width: 140px;" }).ToString();
            }
            else
            {
                html = TextBoxHelper.NumericTextBoxWithMultipleCurrency(null, id, textboxValue, currency, new { style = "width: 140px;", @readonly = true }).ToString();
            }
            return(Json(html));
        }
Exemplo n.º 3
0
        public ActionResult ICS031_GenerateCurrencyNumericTextBox(string id, string currency)
        {
            string html = TextBoxHelper.NumericTextBoxWithMultipleCurrency(null, id, 0, currency, new { style = "width: 140px;" }).ToString();

            return(Json(html));
        }