This question is locked. New answers and comments are not allowed.
Hi everybody, this is my first question :)
My project is MVC3 (razor) and I'm using Q3 2011 telerik controls (2011.1.315). This is my situation:
I have a window created client side that containts a grid. Each rows detail is loaded like this:
.DetailView(details => details.ClientTemplate(
Html
.Action("GridBuilder", "Grids", new { gridId = ViewBag.GridId, ruleSetName = "<#= Name #>"})
.ToHtmlString()
))
the result of the action is a tabstrip with three tabs. Each tab use LoadContentFrom to load it's own content. Each content is a different grid (different name, contents, model, etc etc). In one of this grids I've "register" a couple of ClientEvents:
.ClientEvents(config=>{
config.OnEdit("GridBuilderConditionsOnEdit");
config.OnRowDataBound("GridBuilderConditionsRowDataBound");
})
What happens is that the OnRowDataBound client event works fine, but the OnEdit never fire (at the moment it just show a "debug" alert).
My layout page include all the necessarey js files:
.Add(@Url.Content("2011.1.315/jquery.validate.min.js"))
.Add(@Url.Content("2011.1.315/telerik.common.min.js"))
.Add(@Url.Content("2011.1.315/telerik.calendar.min.js"))
.Add(@Url.Content("2011.1.315/telerik.datepicker.min.js"))
.Add(@Url.Content("2011.1.315/telerik.textbox.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.min.js"))
.Add(@Url.Content("2011.1.315/telerik.draganddrop.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.grouping.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.filtering.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.resizing.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.reordering.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.editing.min.js"))
.Add(@Url.Content("2011.1.315/telerik.tabstrip.js"))
.Add(@Url.Content("2011.1.315/telerik.window.min.js"))
.Add(@Url.Content("2011.1.315/telerik.list.min.js"))
.Add(@Url.Content("2011.1.315/telerik.combobox.min.js"))
.Add(@Url.Content("2011.1.315/telerik.autocomplete.min.js"))
.Add(OTHER CUSTOM JS FILES)
Can someone please help me?
Thanks, Simone
My project is MVC3 (razor) and I'm using Q3 2011 telerik controls (2011.1.315). This is my situation:
I have a window created client side that containts a grid. Each rows detail is loaded like this:
.DetailView(details => details.ClientTemplate(
Html
.Action("GridBuilder", "Grids", new { gridId = ViewBag.GridId, ruleSetName = "<#= Name #>"})
.ToHtmlString()
))
the result of the action is a tabstrip with three tabs. Each tab use LoadContentFrom to load it's own content. Each content is a different grid (different name, contents, model, etc etc). In one of this grids I've "register" a couple of ClientEvents:
.ClientEvents(config=>{
config.OnEdit("GridBuilderConditionsOnEdit");
config.OnRowDataBound("GridBuilderConditionsRowDataBound");
})
What happens is that the OnRowDataBound client event works fine, but the OnEdit never fire (at the moment it just show a "debug" alert).
My layout page include all the necessarey js files:
.Add(@Url.Content("2011.1.315/jquery.validate.min.js"))
.Add(@Url.Content("2011.1.315/telerik.common.min.js"))
.Add(@Url.Content("2011.1.315/telerik.calendar.min.js"))
.Add(@Url.Content("2011.1.315/telerik.datepicker.min.js"))
.Add(@Url.Content("2011.1.315/telerik.textbox.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.min.js"))
.Add(@Url.Content("2011.1.315/telerik.draganddrop.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.grouping.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.filtering.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.resizing.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.reordering.min.js"))
.Add(@Url.Content("2011.1.315/telerik.grid.editing.min.js"))
.Add(@Url.Content("2011.1.315/telerik.tabstrip.js"))
.Add(@Url.Content("2011.1.315/telerik.window.min.js"))
.Add(@Url.Content("2011.1.315/telerik.list.min.js"))
.Add(@Url.Content("2011.1.315/telerik.combobox.min.js"))
.Add(@Url.Content("2011.1.315/telerik.autocomplete.min.js"))
.Add(OTHER CUSTOM JS FILES)
Can someone please help me?
Thanks, Simone