Skip to main content
All docs
V25.1
  • JS

    DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    HtmlEditorImageUploadTab Enum

    Specifies tabs for the image upload dialog.

    Namespace: DevExtreme.AspNet.Mvc

    Assembly: DevExtreme.AspNet.Core.dll

    #Declaration

    C#
    [JsonConverter(typeof(StringEnumConverter))]
    public enum HtmlEditorImageUploadTab

    #Members

    Name Description
    Url

    The ‘From the Web’ tab.

    File

    The ‘From this Device’ tab.

    #Remarks

    Use the Tabs method to specify the image upload tabs.

    @(Html.DevExtreme().HtmlEditor()
        .ImageUpload(imageUpload => imageUpload.Tabs(
            tabs => {
                tabs.Add().Name(HtmlEditorImageUploadTab.File);
                tabs.Add().Name(HtmlEditorImageUploadTab.Url);
            })
        )
    )
    
    See Also