This question is locked. New answers and comments are not allowed.
I have a tabstrip:
When I click the insert button, it reloads JUST the partial view with no layout, style, etc. Any ideas?? I have searched these forums and have seen a lot of people with this problem, but no solution. I have registered all grid scripts, etc.
Here is the grid in the partial view:
@{Html.Telerik().TabStrip()
.Name("TabStrip")
.Effects(fx => fx.Expand()
.Opacity()
.OpenDuration(200)
.CloseDuration(200))
.Items(tabstrip =>
{
tabstrip.Add()
.Text("Details")
.LoadContentFrom("BalanceSummary", "Commitment", new { Id = Model.Id });
tabstrip.Add()
.Text("Funding/Budget")
.LoadContentFrom("CommitmentDetail", "Commitment", new {Id = Model.Id});
tabstrip.Add()
.Text("Transactions");
tabstrip.Add()
.Text("Documents");
})
.SelectedIndex((int)ViewData["tabIndex"])
.Render();}
When I click the insert button, it reloads JUST the partial view with no layout, style, etc. Any ideas?? I have searched these forums and have seen a lot of people with this problem, but no solution. I have registered all grid scripts, etc.
Here is the grid in the partial view:
@{Html.Telerik().Grid(Model)
.Name("FundsGrid")
.ClientEvents(e => e.OnRowSelect("onRowSelect"))
.ToolBar(commands => commands.Insert().ButtonType(GridButtonType.Image))
.Editable(editing => editing.Mode(GridEditMode.PopUp).TemplateName("CreateFundTemplate"))
.Columns(columns =>
{
columns.Bound(o => o.FiscalYear);
columns.Bound(o => o.Fund.Name);
columns.Bound(o => o.Amount);
columns.Bound(o => o.Fund.CurrentBalance);
})
.DataBinding(dataBinding => dataBinding.Server.().Insert("Create", "FundCommitment"))
.DataKeys(keys =>
{
keys.Add(o => o.Id);
})
.Pageable()
.Sortable()
.Filterable()
.Selectable()
.Render();}