or
@Html.EditorFor(x => x.SelectByDateAndTime)@Html.CheckBoxFor(x => x.TwentyFourHourShift)@Html.LabelFor(x => x.DateFrom, new { id = "FromDateLabel"})@Html.EditorFor(x => x.DateFrom)@Html.EditorFor(m => m.DateTo)$(document).ready(function () { var fromDateLabel = $("#FromDateLabel"); var toDatePicker = $("#DateTo").data("kendoDateTimePicker"); var twentyFourHourShiftCheckBox = $("#TwentyFourHourShift"); var selectByDateTimeCheckBox = $("#SelectByDateAndTime"); twentyFourHourShiftCheckBox.click(function () { if (twentyFourHourShiftCheckBox.attr('checked')) { selectByDateTimeCheckBox.attr("disabled", true); fromDateLabel.text("For Date"); } else { selectByDateTimeCheckBox.removeAttr("disabled"); fromDateLabel.text("From Date"); } toDatePicker.enable(); }); selectByDateTimeCheckBox.click(function () { if (selectByDateTimeCheckBox.attr('checked')) twentyFourHourShiftCheckBox.attr("disabled", true); else twentyFourHourShiftCheckBox.removeAttr("disabled"); toDatePicker.enable(); }); });using Telerik.Reporting.Cache.Interfaces;using Telerik.Reporting.Services.Engine;using Telerik.Reporting.Services.WebApi;namespace CNX.WebUI.Controllers{ public class MenuReportController : Controller { public ViewResult ReportMenuAction(string FileName) { TempData["fileName"] = FileName; return View(); } }}using Telerik.Reporting;using Telerik.Reporting.Cache.Interfaces;using Telerik.Reporting.Services.Engine;using Telerik.Reporting.Services.WebApi;using System.Web; namespace CNX.WebUI.Controllers{ public class ReportsController : ReportsControllerBase { protected override IReportResolver CreateReportResolver() { var reportsPath = HttpContext.Current.Server.MapPath("~/Reports"); return new ReportFileResolver(reportsPath).AddFallbackResolver(new ReportTypeResolver()); } protected override ICache CreateCache() { return CacheFactory.CreateFileCache(); } }}<label for="Options">Options</label> .Name("Options") .Placeholder("Please select") .HtmlAttributes(new { style = "width: 100%;" }) .BindTo(new List<string>() { "Option 1", "Option 2" }) )