<%@ 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 //When getting unmapped, also do a quick lookup on TVDB to see which series we would map this to... Don't do the mapping though... //ITvDbProvider.GetSeries(string title); <% Html.Telerik().Grid().Name("Unmapped_Series_Folders") .TableHtmlAttributes(new { id = "UnmappedSeriesGrid" }) .Columns(columns => { columns.Bound(c => c.IsWanted).ClientTemplate("") .Width(20).Title("") .HtmlAttributes(new { style = "text-align:center" }); columns.Bound(c => c.Path); columns.Bound(c => c.TvDbName); }) .DataBinding(d => d.Ajax().Select("_AjaxUnmappedFoldersGrid", "Series")) .ClientEvents(events => events.OnRowDataBound("Grid_onRowDataBound")) .Footer(false) .Render(); %>