Telerik Forums
Kendo UI for jQuery Forum
5 answers
217 views
Hello,

We have an MVC4 project in which we are using Kendo UI with AngularJS. What is the best way to propagate Kendo events back to Angular? I guess we could manually create handlers for all the events we want to handle in Angular, but I was wondering if there is a more efficient way of doing this.

Thank you.
Daniel D.
Atanas Korchev
Telerik team
 answered on 28 Oct 2013
4 answers
143 views
Hi Kendo Team

Can I show two pointers in the guage one of which points to an actual value and the other points to a target value.Please take a look at the image that shows my requirement.

Thanks 
Ramoji
Arjun
Top achievements
Rank 1
 answered on 26 Oct 2013
1 answer
261 views
Hi,

I am unsing Kendo with MVC 5. I am binding my Grid over Ajax ( see attached project and code below). I receive the Date for the LastModified column
with the Json result but the date is not displayed. 
I have already made another project with kendo with a similar setup and everything worked perfectly

Hope you can help

@(Html.Kendo().Grid<Rainbow.ViewModels.CustomerViewModel>()
    .Name("CustomersGrid")
    .Events(events => events.DataBound("onDataBound").DataBinding("onDataBinding").DetailInit("onDetailInit"))
    .DataSource(d => d.Ajax().Read(r => r.Action("CustomersGridData", "Customer")))
    .Columns(c =>
    {
        c.Bound(i => i.Number).Title("Number");        
        c.Bound(i => i.LastModified).Title("LastModified");        
    })
    .Sortable()
    .Filterable()
    .Pageable())
Ignacio
Top achievements
Rank 1
 answered on 25 Oct 2013
2 answers
170 views
The attached image shows the problem we are having with placing a kendo menu inside a kendo grid cell. We would like the dropdown menu to appear on top of other grid elements, without creating a scroll bar. We have tried using the following CSS:
.k-grid tr td
{
    overflow: visible;
}
This successfully prevents the scrollbars from appearing inside the individual cell, but does not prevent the scrollbar from appearing in the grid body.
Jake
Top achievements
Rank 1
 answered on 25 Oct 2013
6 answers
887 views
<script id="editor" type="text/x-kendo-template">

<table border="0">
<tr style="border-style:hidden">
<td style="border-style:hidden"><label>Paciente</label></td>
<td style="border-style:hidden"><div id="example1" class="k-content"><input style="width:300px;" data-bind="value: Paciente" /> <button id="example1" class="k-button" data-bind="events:{ click: buscaficha}">Buscar</button></div></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Teléfono</td>
<td style="border-style:hidden"><input data-bind="value: Telefono"/></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Comienza</td>
<td style="border-style:hidden"><input name="start" type="text" required data-type="date" data-role="datetimepicker" data-bind="value: start,invisible: isAllDay" /></td>

</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Finaliza</td>
<td style="border-style:hidden"><input name="end" type="text" required data-type="date" data-role="datetimepicker" data-bind="value: end,invisible: isAllDay" /></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Médico</td>
<td style="border-style:hidden"><input data-bind="value: Medico"/></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Ficha</td>
<td style="border-style:hidden"><input data-bind="value: Ficha_Num"/></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Memo</td>
<td style="border-style:hidden"><input style="width:300px;" data-bind="value: Memo"/></td>
</tr>


</table>

</script>
-------------------------------------------------------

<script type='text/javascript'>


$(document).ready(function () {

var viewModel = kendo.observable({
buscaficha:function (e) {
  alert("HELLO");
}
});

kendo.bind($("#example1"), viewModel);
});
</script>

Thanks in advance

Johnny
Johnny
Top achievements
Rank 1
 answered on 25 Oct 2013
1 answer
62 views
Hello
I have problem with showing loading animation when after filter there is no data and then I press refresh or clear filter. There is no loading animation when scrollable flag is set to true. If there is no scrollable flag (scrollable flag is false) everything is working properly.

Regards
Marcin
Dimo
Telerik team
 answered on 25 Oct 2013
3 answers
318 views
Hi,
:( English.
i have a Grid starting with checkbox in all the rows and other data.
Have achieved displaying checkbox in the grid like this
field: "status",
title: "Status",
template: "<input name='Status' class='ob-paid' type='checkbox'  />",
And my output is like this:

HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-UnMatch-Content1-Content2-Content3
HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-UnMatch-Content1-Content2-Content3

Now, i need to display a popup on clicking the checkbox("if the text is UnMatch") with some content.
And no need to do anything if i click on checkbox with the column text is Match.

Please help me how to do this.
Ignacio
Top achievements
Rank 1
 answered on 25 Oct 2013
1 answer
173 views
I have set a delegated event handler to fire on a mouseenter of each of the autocomplete listbox items (the popup list). This handler will then call the autocomplete.select() on the target <li>
    $('ul[id^=txtVendor]').on('mouseenter','li',function (e) { SFO_CNew.autoCompleteMouseEnter(e); });
 
SFO_CNew.autoCompleteMouseEnter = function (e) {
    var autocompleteId, autocomplete;
    autocompleteId = $(e.target).parent().prop('id').replace('_listbox', '');
    autocomplete = $('#' + autocompleteId).data('kendoAutoComplete');
    autocomplete.select(e.target);
    return;
}

The select method will set the target as such:
<li tabindex="-1" role="option" unselectable="on" class="k-item k-state-selected k-state-focused" id="txtVendor_option_selected">XXXXXXX</li>

However it does not reset the class list on previously selected <li> items for example:
<li tabindex="-1" role="option" unselectable="on" class="k-item k-state-selected">ZZZZZZZ</li>

By not removing the k-state-selected class, I see the k-state-selected background's color which I don't want. While I could use jQuery to reset all of the <ul>'s <li> classes to just k-item, before I select an item, I would expect that the select() method would do this for me.  Is there something I am missing?
Alexander Popov
Telerik team
 answered on 25 Oct 2013
1 answer
64 views
I can't seem to find an easy way to build a menu using Kendo similar to the menu at the kendoui.com website.  Is there anyone who can help me with some direction?
Dimo
Telerik team
 answered on 25 Oct 2013
7 answers
70 views
I am attaching an html file.  If you open this file in your browser,  and copy/paste into the demo application http://demos.kendoui.com/web/editor/index.html
it causes a javascript error. We are trying to use the editor in a production application, and are constrained to using ie 8.

Please advise.
Jim Meisterich
Jim
Top achievements
Rank 1
 answered on 25 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?