Esempio n. 1
0
 public Form(ActionResult result)
     : base(null)
 {
     this._result = result;
     this._formMethod = System.Web.Mvc.FormMethod.Post;
     _actionTypePassed = ActionTypePassed.HtmlActionResult;
 }
Esempio n. 2
0
 public Form(Task<ActionResult> taskResult)
     : base(null)
 {
     this._taskResult = taskResult;
     this._formMethod = System.Web.Mvc.FormMethod.Post;
     _actionTypePassed = ActionTypePassed.HtmlTaskResult;
 }
 public BootstrapActionLink(HtmlHelper html, string linkText, ActionResult result)
 {
     this.html = html;
     this._linkText = linkText;
     this._result = result;
     this._actionTypePassed = ActionTypePassed.HtmlActionResult;
 }
 public BootstrapActionLink(HtmlHelper html, string linkText, Task<ActionResult> taskResult)
 {
     this.html = html;
     this._linkText = linkText;
     this._taskResult = taskResult;
     this._actionTypePassed = ActionTypePassed.HtmlTaskResult;
 }
 public BootstrapActionLink(HtmlHelper html, string linkText, string actionName)
 {
     this.html = html;
     this._linkText = linkText;
     this._actionName = actionName;
     this._actionTypePassed = ActionTypePassed.HtmlRegular;
 }
Esempio n. 6
0
 public Form(string action)
     : base(null)
 {
     this._action = action;
     this._formMethod = System.Web.Mvc.FormMethod.Post;
     _actionTypePassed = ActionTypePassed.HtmlRegular;
 }
Esempio n. 7
0
 public BootstrapActionLink(HtmlHelper html, string linkText, string actionName, string controllerName)
 {
     this.html              = html;
     this._linkText         = linkText;
     this._actionName       = actionName;
     this._controllerName   = controllerName;
     this._actionTypePassed = ActionTypePassed.HtmlRegular;
 }
Esempio n. 8
0
 public BootstrapActionLink(AjaxHelper ajax, string linkText, Task <ActionResult> taskResult, AjaxOptions ajaxOptions)
 {
     this.ajax              = ajax;
     this._linkText         = linkText;
     this._taskResult       = taskResult;
     this._ajaxOptions      = ajaxOptions;
     this._actionTypePassed = ActionTypePassed.AjaxTaskResult;
 }
 public BootstrapActionLink(AjaxHelper ajax, string linkText, string actionName, string controllerName, AjaxOptions ajaxOptions)
 {
     this.ajax              = ajax;
     this._linkText         = linkText;
     this._actionName       = actionName;
     this._controllerName   = controllerName;
     this._ajaxOptions      = ajaxOptions;
     this._actionTypePassed = ActionTypePassed.AjaxRegular;
 }
Esempio n. 10
0
        public Form(string action, string controller)
            : base(null)
        {
            this._action     = action;
            this._controller = controller;
            this._formMethod = System.Web.Mvc.FormMethod.Post;

            _actionTypePassed = ActionTypePassed.HtmlRegular;
        }
 public BootstrapActionLinkButton(HtmlHelper html, string linkText, string actionName)
     : base("")
 {
     this.html              = html;
     this._model.text       = linkText;
     this._actionName       = actionName;
     this._model.size       = ButtonSize.Default;
     this._model.style      = ButtonStyle.Default;
     this._actionTypePassed = ActionTypePassed.HtmlRegular;
 }
 public BootstrapActionLinkButton(HtmlHelper html, string linkText, Task <ActionResult> taskResult)
     : base("")
 {
     this.html              = html;
     this._model.text       = linkText;
     this._taskResult       = taskResult;
     this._model.size       = ButtonSize.Default;
     this._model.style      = ButtonStyle.Default;
     this._actionTypePassed = ActionTypePassed.HtmlTaskResult;
 }
Esempio n. 13
0
        public Form(EventData eventData)
            : base(null)
        {
            this._action      = eventData.Action;
            this._controller  = eventData.Controller;
            this._routeValues = eventData.RouteValues;
            this._formMethod  = System.Web.Mvc.FormMethod.Post;

            _actionTypePassed = ActionTypePassed.HtmlRegular;
        }
 public BootstrapActionLinkButton(HtmlHelper html, string linkText, ActionResult result)
     : base("")
 {
     this.html              = html;
     this._model.text       = linkText;
     this._result           = result;
     this._model.size       = ButtonSize.Default;
     this._model.color      = BootstrapColors.Default;
     this._actionTypePassed = ActionTypePassed.HtmlActionResult;
 }
Esempio n. 15
0
        public Form(EventData eventData)
            : base(null)
        {
            this._action = eventData.Action;
            this._controller = eventData.Controller;
            this._routeValues = eventData.RouteValues;
            this._formMethod = System.Web.Mvc.FormMethod.Post;

            _actionTypePassed = ActionTypePassed.HtmlRegular;
        }
 public BootstrapActionLinkButton(AjaxHelper ajax, string linkText, Task <ActionResult> taskResult, AjaxOptions ajaxOptions)
     : base("")
 {
     this.ajax              = ajax;
     this._model.text       = linkText;
     this._taskResult       = taskResult;
     this._model.size       = ButtonSize.Default;
     this._model.style      = ButtonStyle.Default;
     this._ajaxOptions      = ajaxOptions;
     this._actionTypePassed = ActionTypePassed.AjaxTaskResult;
 }
 public BootstrapActionLinkButton(AjaxHelper ajax, string linkText, string actionName, AjaxOptions ajaxOptions)
     : base("")
 {
     this.ajax              = ajax;
     this._model.text       = linkText;
     this._actionName       = actionName;
     this._model.size       = ButtonSize.Default;
     this._model.style      = ButtonStyle.Default;
     this._ajaxOptions      = ajaxOptions;
     this._actionTypePassed = ActionTypePassed.AjaxRegular;
 }
 public BootstrapActionLinkButton(HtmlHelper html, string linkText, string actionName, string controllerName)
     : base("")
 {
     this.html              = html;
     this._model.text       = linkText;
     this._actionName       = actionName;
     this._controllerName   = controllerName;
     this._model.size       = ButtonSize.Default;
     this._model.color      = BootstrapColors.Default;
     this._actionTypePassed = ActionTypePassed.HtmlRegular;
 }
 public BootstrapActionLinkButton(AjaxHelper ajax, string linkText, ActionResult result, AjaxOptions ajaxOptions)
     : base("")
 {
     this.ajax              = ajax;
     this._model.text       = linkText;
     this._result           = result;
     this._model.size       = ButtonSize.Default;
     this._model.color      = BootstrapColors.Default;
     this._ajaxOptions      = ajaxOptions;
     this._actionTypePassed = ActionTypePassed.AjaxActionResult;
 }
 public BootstrapActionLink(AjaxHelper ajax, string linkText, Task<ActionResult> taskResult, AjaxOptions ajaxOptions)
 {
     this.ajax = ajax;
     this._linkText = linkText;
     this._taskResult = taskResult;
     this._ajaxOptions = ajaxOptions;
     this._actionTypePassed = ActionTypePassed.AjaxTaskResult;
 }
 public BootstrapActionLink(AjaxHelper ajax, string linkText, string actionName, string controllerName, AjaxOptions ajaxOptions)
 {
     this.ajax = ajax;
     this._linkText = linkText;
     this._actionName = actionName;
     this._controllerName = controllerName;
     this._ajaxOptions = ajaxOptions;
     this._actionTypePassed = ActionTypePassed.AjaxRegular;
 }