Nucleus .Net Core CMS

HtmlHelpers.UploadButtonHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render an upload button.
UploadButton (IHtmlHelper htmlHelper, String name, String caption, String accept, Boolean allowMultiple, String formaction, String dataTarget, String cssClass, Object htmlAttributes)
Returns an upload button with a label and default glyph.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
name String
caption String
accept String
allowMultiple Boolean
formaction String
dataTarget String
cssClass String
htmlAttributes Object
UploadButton (IHtmlHelper htmlHelper, String name, String caption, String accept, Boolean allowMultiple, String formaction, Object htmlAttributes)
Returns an upload button with a label and default glyph.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
name String
caption String
accept String
allowMultiple Boolean
formaction String
htmlAttributes Object
UploadButton (IHtmlHelper htmlHelper, String glyph, String name, String caption, String accept, Boolean allowMultiple, String formaction, String dataTarget, String cssClass, Object htmlAttributes)
Html helper used to render an upload button.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
glyph String
name String
caption String
accept String
allowMultiple Boolean
formaction String
dataTarget String
cssClass String
htmlAttributes Object
UploadButtonFor<T0, T1> (IHtmlHelper<T0, T0, T1> glyph, String caption, String accept, String allowMultiple, Boolean formaction, String dataTarget, String cssClass, String htmlAttributes)
Returns a upload button with a label and glyph.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<T0>
expression System.Linq.Expressions.Expression<T0>
glyph <T1>
caption String
accept String
allowMultiple String
formaction Boolean
dataTarget String
cssClass String
htmlAttributes String
Remarks
This helper is used by the 'Pages' index to expand child page selections.