<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %> <%@ Import Namespace="Telerik.Web.Mvc.UI" %> <%@ Import Namespace="NzbDrone.Web.Models" %> Add Existing Series <% Html.RenderPartial("SubMenu"); %> //Get AJAX listing of unmapped directories <% Html.Telerik().Grid().Name("Unmapped Series Folders") .Columns(columns => { columns.Bound(c => c.IsWanted).Width(0).Title("Is Wanted?"); columns.Bound(c => c.Path); }) //.DetailView(detailView => detailView.Template(e => Html.RenderPartial("EpisodeDetail", e))) //.DetailView(detailView => detailView.ClientTemplate("
<#= Overview #>
")) //.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.EpisodeNumber).Descending()).Enabled(true)) .Footer(false) .DataBinding(d => d.Ajax().Select("_AjaxUnmappedFoldersGrid", "Series")) //.EnableCustomBinding(true) //.ClientEvents(e => e.OnDetailViewExpand("episodeDetailExpanded")) //Causes issues displaying the episode detail multiple times... .Render(); %>`