Telerik Forums
Kendo UI for jQuery Forum
2 answers
96 views
Hi,

I Noticed that supplying a  
messages.event
object does work, but not the 'event' property.

So:

messages: {
          cancel: "Annuleer",
          save: "Opslaan",
          today: "Vandaag",
          event: "Boeking",
        },
Will not render the title of an edit-event popup to "Boeking".
I use a custom template, as in:

editable: {
          template: $("#editor").html(),
          confirmation: "Wilt u deze boeking daadwerkelijk verwijderen?",
          resize:false,
        },

I found a workaround:
In the parse function of the transport.schema object it's possible to define extra functions. They can do extra magic, and called from the template using MVVM bindings. :)
Like this:
$("span.k-window-title").html("Boeking");
Another use for this method:
Hide the save/cancel buttonbar in certain conditions. Like this:
$("div.k-edit-buttons").css("display","none");

Just my 2 cents!





Kjeld
Top achievements
Rank 1
 answered on 09 Sep 2013
2 answers
213 views
Hi, I have downloaded the trial version of kendo ui, but when I try the kendo scheduler resizeStart, resize and resizeEnd, this three function is not firing/working. I've already tried the sample code from your documentation but still I'm not getting  this thing to work. Can you provide me with a working sample code for this one? Thanks.
Jsn
Top achievements
Rank 1
 answered on 09 Sep 2013
2 answers
417 views
Hi,

I am building an app, with a mobile switch, but i can not reset it to default state. 
The value is resetted, but the graphic shows it still on "J", the onlabel.
How can I reset this switch completely without removing it from DOM??
Like if it is off for default, it should be off after reset, for it is on for default, it should reset to on, independed on what state it actually is.
<label for="bb" id="ms">Bla or blub?
<input type="checkbox" data-role="switch" id="BB-switch" name="bb" data-change="switchChange" class="rrform" data-off-label="N" data-on-label="J" value="false"/>
</label>
// reset whole formular to default settings
  function reset(){
        var $res = $("#rrform").get(0);
        $res.reset();
        $("#MWST-switch").removeAttr('checked');
   }
reset();
Danilo
Top achievements
Rank 1
 answered on 09 Sep 2013
1 answer
133 views
Is there a panel bar coming on new Kendo Version?

I have been trying to built my own with grouped datasource and template header and http://code.anotherwebstorm.com/apps/awsaccordion/

But in this case (and others) the accordion needs clean html to works fine. The ouput should be like below, but listviews generate more html.

<div id="accordion1">
    <ul>
        <li>
            <h1>Heading 1</h1>
            <div>
                <span>one
                </span>
            </div>
        </li>
        <li>
            <h1>Heading 2</h1>
            <div>
                <span>two
                </span>
            </div>
        </li>
        <li>
            <h1>Heading 3</h1>
            <div>
                <span>tree
                </span>
            </div>
        </li>
    </ul>
</div>
Any suggestions?
Steve
Telerik team
 answered on 09 Sep 2013
2 answers
101 views
I'm doing MVC4 with razor.  I have tried using the datetimepicker with a grid and without and I get the same result.  I suspect it is my CSS but I'm not very proficient at doing CSS.   I use the kendo.common.min.css and kendo.default.min.css.  I've changed the theme slightly for width and fonts on the grid.  

My editor template is as follows, though I have the same problem when I use datetimepicker outside of grid.

@model  DateTime?

@(Html.Kendo().DateTimePickerFor(m => m)
.Min(new DateTime(2010, 1, 1, 10, 0, 0)) //Set min time of the datetimepicker
.Max(new DateTime(2010, 1, 1, 20, 0, 0)) //Set min date of the datetimepicker
.Value(DateTime.Now) //Set the value of the datetimepicker
 
)

To use without the grid, i just included:
    <div id='to-do'>
@(Html.Kendo().DateTimePicker()
        .Name("datetimepicker")
        .Value(DateTime.Now)
)
</div>

My datetimepicker shows up with the month on top, nothing as far as the days, and then a bunch of gray space to the right.  I'm at a loss as to what to try or what to furnish you.

 

 

Thomas
Top achievements
Rank 1
 answered on 09 Sep 2013
1 answer
173 views
Hello.

I have a question regarding language change. I was able to upload my language pack and change language for example for calendar in date picker. Is such a functionality available for grids calendar ? 
Mateusz
Top achievements
Rank 1
 answered on 09 Sep 2013
1 answer
112 views
Hi I was just wondering if this is possible. When I try to do it I get an Invalid template error. Thanks
Dimiter Madjarov
Telerik team
 answered on 09 Sep 2013
3 answers
188 views
Hello,

I tried the Color Picker and to select a color using the HexCode. However the preview doesn't update to show the right color. It only takes the color when you press enter. If you double click, the Hex Code is not applied. If you press the "Apply" button, it's also not applied. I'm using Safari on Mac. I find it difficult for a user to understand how to use the Hex Code. Is there a way that the preview color updates in real-time when you enter the Hex Code and to apply it in an easier manner?

Philip
Mihai
Telerik team
 answered on 09 Sep 2013
1 answer
53 views
On the latest build v2013.2.716 we are experiencing the same issues we previously mentioned in this post:

http://www.kendoui.com/forums/mobile/listview/android-use-native-scrolling-display-issue-on-list-view---android-4-1-2.aspx

However this isn't in relation to a particular listview, just a regular view with a google map, some inputs and buttons. When you scroll the inputs scroll at half speed while the rest of the view scroll at full speed, sort of like an unwanted parallax effect.

This does not happen when use native scrolling is disabled. I am sensing the problem is a similar css hack as the previously mentions forum answer solved our issues with a css fix for a similar natured problem.

This is happening on all versions of android we have tested: 4.1.2 and 4.2.2

Maybe instead of 

.km-listview-wrapper {
-webkit-transform: none !important;
    } 

something like....

.km-tview-wrapper {
-webkit-transform: none !important;
    } 
Petyo
Telerik team
 answered on 09 Sep 2013
3 answers
289 views
Displaying validation summary in Mobile Application
This sample project demonstrates how to display validation messages in KendoUI mobile applications.

ListView - Hierarchy
This sample project demonstrates how to configure ListView hierarchy using the filter method of the DataSource. Both local and remote data versions are included.
Kendo UI
Top achievements
Rank 1
 answered on 09 Sep 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?