Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

_CreateOrUpdate.Multimedia.Videos.cshtml

@model ProductModel

@await Html.PartialAsync("Table", new DataTablesModel { Name = "productvideos-grid", UrlRead = new DataUrl("ProductVideoList", "Product", new RouteValueDictionary { [nameof(Model.ProductVideoSearchModel.ProductId)] = Model.ProductVideoSearchModel.ProductId }), UrlDelete = new DataUrl("ProductVideoDelete", "Product", null), UrlUpdate = new DataUrl("ProductVideoUpdate", "Product", null), Length = Model.ProductVideoSearchModel.PageSize, LengthMenu = Model.ProductVideoSearchModel.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(ProductVideoModel.Id)) { Title = T("Admin.Catalog.Products.Multimedia.Videos.Fields.Preview").Text, Render = new RenderCustom("renderVideosColumnProductVideoUrl") }, new ColumnProperty(nameof(ProductVideoModel.VideoUrl)) { Title = T("Admin.Catalog.Products.Multimedia.Videos.Fields.VideoUrl").Text, Width = "400", Editable = true, EditType = EditType.String }, new ColumnProperty(nameof(ProductVideoModel.DisplayOrder)) { Title = T("Admin.Catalog.Products.Multimedia.Videos.Fields.DisplayOrder").Text, Width = "150", ClassName = NopColumnClassDefaults.CenterAll, Editable = true, EditType = EditType.Number }, new ColumnProperty(nameof(ProductVideoModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "200", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonsInlineEdit() }, new ColumnProperty(nameof(ProductVideoModel.Id)) { Title = T("Admin.Common.Delete").Text, Width = "100", Render = new RenderButtonRemove(T("Admin.Common.Delete").Text), ClassName = NopColumnClassDefaults.Button } } })
@T("Admin.Catalog.Products.Multimedia.Videos.AddNew")