This question is locked. New answers and comments are not allowed.
Hello,
I trying to cache partial view with Date Picker.
First time (no cache) Date Picker work.
Second time (cache) Date Picker doesn't work.
Thanks,
Andrey
View:
Controler:
Partial View:
I trying to cache partial view with Date Picker.
First time (no cache) Date Picker work.
Second time (cache) Date Picker doesn't work.
Thanks,
Andrey
View:
@Html.Action("_SearchBox", "Page")[ChildActionOnly][OutputCache(Duration = 3600)]public ActionResult _SearchBox(){ return View(new Uco.Models.Search());}@model Uco.Models.Search@using (Html.BeginForm("Search", "Page", new { name = "Search3" }, FormMethod.Post, null)){ @Html.EditorFor(model => model.ToDate)}