Function Title(), ClientTemplate() and encode(false) don't work when I bind dynamic columns in a hierarchy grid.
Some columns contains html like <br/>. I tried Encode(false), but it doesn't work.
View:
@(
Html.Kendo().Grid<dynamic>().Name("Grid")
.DataSource(ds => ds.Ajax()
.Model(m =>
{
foreach (System.Data.DataColumn column in Model.AssessmentData.Columns)
{
m.Field(column.ColumnName, column.DataType);
}
})
.Read(r => r.Action("GetStudentResult", "StudentDetail",
new { studentID = "#=StudentID#", headerID = "#=HeaderID#" }))
)
.Name("grid_#=HeaderID#")
.Columns(columns =>
{
foreach (System.Data.DataColumn column in Model.AssessmentData.Columns)
{
var c = columns.Bound(column.ColumnName);
c.Title(column.ColumnName + "_test");
c.ClientTemplate("<div class='test'>#:" + column.ColumnName + "#</div>");
}
})
.Sortable()
.ToClientTemplate()
)
Controller:
public ActionResult GetStudentResult([DataSourceRequest] DataSourceRequest request,
int studentID, int headerID)
{
DataTable dt = this.core.GetAssessResult(studentID, headerID,
this._loginInfo.SchoolID);
string test = JsonConvert.SerializeObject(dt.ToDataSourceResult(request));
return Content(test, "application/json");
}
Hi,
Working on Progress.JSDO with Mobile app.
I am working on Tabstrip in Kendo with <a> tags as below.
<div data-role="tabstrip">
<a href="views/listView.html?status=Submitted">Submitted</a>
<a href="views/listView2.html?status=Registered">Registered</a>
<a href="views/listView3.html?status=Approved">Approved</a>
<a href="views/listView4.html?status=Declined">Declined</a>
</div>
I would like to retrieve the value of status, when I click the TAB in UI.
I have tried using "e.view.params.status", it returning as undefined.
Can someone help me to get the value.
Hello,
I've this nested template and viewModel working OK. Until it hits the last two entries of the array. It wouldn't load the last two items
I am not sure why this is happening. I've tried to load this with inline array, it just won't load in the following URL but it will give you an idea.
http://jsbin.com/movebe/edit?html,js,output
I've also added a screen shot of what I am getting as a result in my local host.
I am adding a show hide toggle with "Show More" to reveal next three entries, but so far no success with adding a wrap either with the following code:
$("#divCategory > article");
for(var i = 0; i < article.length; i+=3) {
article.slice(i, i + 3).wrapAll("<div class='more'></div>");
}
Any ideas to how to achive this would be appreciated?
Thanks.
Hi
We have a grid with a boolean column that is filtered with "Yes" or "No" radiobuttons.
When clearing a filter programmatically, by e.g.
$("#grid").data('kendoGrid').dataSource.filter(null)the filters are cleared as expected but the radio button remains selected on either Yes or No if I open the columns filter.
If I then click the Filter-button without touching the radio buttons nothing happens even though e.g. Yes was selected.
However if I click No and then Yes and then do the Filter, it will do the Yes-filtering.
This only seems like an issue for radiobuttons, for all other types, strings, datetime and checkboxes the values are cleared along with the filter.
Can you recommend a fix/workaround?
Thanks, Sune


Hi,
I just upgraded my solution from Kendo UI 2014 Q3 version to 2015 Q3 and experienced a massive drop in chart rendering performance.
Comparing both versions on the same machine (server, browser) an area chart with about 20000 data points now takes 2-3 times (Chrome: 15s vs 7s; 25s vs 10s in Firefox) more time to finish rendering.
Why?
Did I miss something?
Is there a simple solution to achieve same rendering performance of the chart as in 2014 Q3 version?
Regards,
Dirk
Hi Kendo team,
Testing Q2 2015, I've found that if you set autobind to false, yo can't set a text to the comboBox.
You can try this behaviour in this sample
This worked fine in Q2 2014.
Kind regards,
Oscar.
Hi,
I have a Kendo Scheduler where i am using Custom Edit Template using e.TemplateName. So when i double click on the event in the Scheduler, the custom template opens as pop up with Save,Cancel and Delete option. I have some field validation in the template. When i click on Save, it shows validation error if any and does not proceed further if there are any validation error, but when i click on Delete, it shows validation error if any but it proceeds further and shows delete confirmation dialogue box.
Can any one please tell me as how to perform validation check and prevent the delete operation from happening if there is any validation error.
Thanks,
Rajee
<div kendo-tab-strip k-content-urls="[ null, null]" style="background-color: white; border-color: white"> <!-- tab list --> <ul style="background-color: white"> <li class="k-state-active">Hello</li> <li>World</li> <li ng-repeat="tab in selectedItem.Ui">Tab# {{$index}}</li> </ul> <div style="padding: 1em"> Chicken </div> <div style="padding: 1em"> Thigh </div> <div ng-repeat="tab in selectedItem.Ui" style="padding: 1em"> {{$index}} </div></div>