using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FlexSheetExplorer.Controllers
{
public partial class FlexSheetController : Controller
{
public ActionResult FrozenCells()
{
return View();
}
}
}
@section Scripts{
<script type="text/javascript" src="~/Scripts/FlexSheet/frozenCells.js"></script>
<script type="text/javascript">
c1.documentReady(function () {
updateBtnTitle('@Resources.FlexSheet.FrozenCells_Text4', '@Resources.FlexSheet.FrozenCells_Text3');
});
</script>
}
<div>
<div class="copy">
<h3>@Html.Raw(Resources.FlexSheet.FrozenCells_Text2)</h3>
<p>@Html.Raw(Resources.FlexSheet.FrozenCells_Text0)</p>
</div>
<button type="button" class="btn btn-default" onclick="freezeCells()" id="frozenBtn">@Html.Raw(Resources.FlexSheet.FrozenCells_Text3)</button>
<div>
@(Html.C1().FlexSheet().CssClass("flexSheet").Id("frozenSheet")
.AddUnboundSheet("Sheet1", 20, 8)
.OnClientSelectedSheetChanged("updateFrozenState"))
</div>
</div>
@section Summary{
<p>@Html.Raw(Resources.FlexSheet.FrozenCells_Text1)</p>
}