I have a grid with a template Editor like this. My problem is when i write something in txtFirstname field and remove it, when i quit field, required message is display. When I return in this field and write something and exit the field, the validation message don't disappear. Do you know why ?
<script id="contactEditorTemplate" type="text/x-kendo-template">
<div style="width: 630px">
<p>
<label for="txtFirstname">@(New HtmlString(LocalizationValues.Firstname))</label>
<input id="txtFirstname2" name="txtFirstname" type="text" data-bind="value:Firstname" required validationMessage="@(New HtmlString(LocalizationValues.The_Firstname_Is_Mandatory))"/>
</p>
<p>
<label for="txtLastname">@(New HtmlString(LocalizationValues.Lastname))</label>
<input id="txtLastname" name="txtLastname" type="text" data-bind="value:Lastname" required validationMessage="@(New HtmlString(LocalizationValues.The_Lastname_Is_Mandatory))"/>
</p>
<p>
<label for="txtAddress">@(New HtmlString(LocalizationValues.Address))</label>
<input id="txtAddress" name="txtAddress" type="text" data-bind="value:Address" required validationMessage="@(New HtmlString(LocalizationValues.The_Address_Is_Mandatory))"/>
</p>
<p>
<label for="txtAddress2">@(New HtmlString(LocalizationValues.Address_Line2))</label>
<input id="txtAddress2" name="txtAddress2" type="text" data-bind="value:Address2" />
</p>
<p>
<div id="divQuebecCity">
<label for="city">@(New HtmlString(LocalizationValues.City))</label>
<input id="city" name="city" required data-bind="value: City" required validationMessage="@(New HtmlString(LocalizationValues.The_City_Is_Mandatory))" />
</div>
</p>
<p>
<div id="divNonQuebecCity">
<label for="txtNonQuebecCity">@(New HtmlString(LocalizationValues.City))</label>
<input id="txtNonQuebecCity" name="txtNonQuebecCity" type="text" data-bind="value: NonQuebecCity" required required validationMessage="@(New HtmlString(LocalizationValues.The_City_Is_Mandatory))"/>
</div>
</p>
<p>
<label for="txtPostalCode">@(New HtmlString(LocalizationValues.Postal_Code))</label>
<input id="txtPostalCode" name="txtPostalCode" type="text" data-bind="value: PostalCode" class="postalCode" pattern="[A-Za-z][0-9][A-Za-z] [0-9][A-Za-z][0-9]" required validationMessage="@(New HtmlString(LocalizationValues.The_Postal_Code_Format_Is_Invalid))" />
</p>
<p>
<div id="divProvince">
<label for="province">@(New HtmlString(LocalizationValues.Province))</label>
<input id="province" name="province" required data-bind="value: Province" required validationMessage="@(New HtmlString(LocalizationValues.The_Province_Is_Mandatory))" />
</div>
</p>
<p>
<label for="txtRole">@(New HtmlString(LocalizationValues.Role))</label>
<input id="txtRole" name="txtRole" type="text" data-bind="value:Role" required validationMessage="@(New HtmlString(LocalizationValues.The_Role_Is_Mandatory))"/>
</p>
<p>
<div id="divIsEmergency">
<label for="isEmergency">@(New HtmlString(LocalizationValues.IsEmergencyContact))</label>
<div id="isEmergency" name="isEmergency" data-bind="value: IsEmergency"/>
<div id="isEmergencyExplanation">
<label>@(New HtmlString(LocalizationValues.IsEmergencyInformation))</label>
</div>
</div>
</p>
<p>
<label for="divPrincipalPhoneType">@(New HtmlString(LocalizationValues.PrincipalPhoneTitle))</label>
</p>
<p>
<div id="divPrincipalPhone">
<p>
<label for="lblPrincipalPhoneType">@(New HtmlString(LocalizationValues.Type))</label>
<input id="divPrincipalPhoneType" name="divPrincipalPhoneType" required data-bind="value: PrincipalPhoneType" validationMessage="@(New HtmlString(LocalizationValues.The_Phone_Type_Is_Mandatory))" />
</p>
<p>
<label for="lblPrincipalPhoneNumber">@(New HtmlString(LocalizationValues.PhoneNumber))</label>
<input id="txtPrincipalPhoneNumber" name="txtPrincipalPhoneNumber" type="tel" pattern="[(][0-9]{3}[)] [0-9]{3}-[0-9]{4}" required data-bind="value:PrincipalPhoneNumber" class="phoneNumberMask" validationMessage="@(New HtmlString(LocalizationValues.The_Phone_Number_Is_Mandatory))" />
</p>
<p>
<label for="lblPrincipalPhoneExtension">@(New HtmlString(LocalizationValues.PhoneExtension))</label>
<input id="txtPrincipalPhoneExtension" name="txtPrincipalPhoneExtension" type="text" data-bind="value:PrincipalPhoneExtension" />
</p>
</div>
</p>
<p>
<label for="divSecondaryPhoneType">@(New HtmlString(LocalizationValues.SecondaryPhoneTitle))</label>
</p>
<p>
<div id="divSecondaryPhone">
<p>
<label for="lblSecondaryPhoneType">@(New HtmlString(LocalizationValues.Type))</label>
<input id="divSecondaryPhoneType" name="divSecondaryPhoneType" data-bind="value: SecondaryPhoneType" />
</p>
<p>
<label for="lblSecondaryPhoneNumber">@(New HtmlString(LocalizationValues.PhoneNumber))</label>
<input id="txtSecondaryPhoneNumber" name="txtSecondaryPhoneNumber" type="tel" data-bind="value:SecondaryPhoneNumber" class="phoneNumberMask" />
</p>
<p>
<label for="lblSecondaryPhoneExtension">@(New HtmlString(LocalizationValues.PhoneExtension))</label>
<input id="txtSecondaryPhoneExtension" name="txtSecondaryPhoneExtension" type="text" data-bind="value:SecondaryPhoneExtension" />
</p>
</div>
</p>
<p>
<label for="divEmailType">@(New HtmlString(LocalizationValues.EmailTitle))</label>
</p>
<p>
<div id="divEmail">
<p>
<label for="divEmailType">@(New HtmlString(LocalizationValues.Type))</label>
<input id="divEmailType" name="divEmailType" required data-bind="value: EmailType" validationMessage="@(New HtmlString(LocalizationValues.The_Email_Type_Is_Mandatory))" />
</p>
<p>
<label for="txtEmailAddress">@(New HtmlString(LocalizationValues.Email))</label>
<input id="txtEmailAddress" name="txtEmailAddress" type="email" required data-bind="value: EmailAddress" validationMessage="@(New HtmlString(LocalizationValues.The_Email_Is_Mandatory))" />
</p>
</div>
</p>
<div/>
</script>
Hello,
Is there a solution for specifying the order of diagram shapes ? I am using layered layout
Thanks

Hi
In my Kendo Scheduler I am adding an item to the data array (simulated by button click function).
I am trying to update the view, but the event does not show up, how can I properly update the view / refresh the Scheduler so that the data is re-read?
Here is my example: http://dojo.telerik.com/uKUzI/2
Many thanks
Hi,
kendo grid supports column templates. Is there an equivalent for gantt?
It exists a task-template but that is not what I am looking for. I just want to customize some cols.
I hope you can help me.

On the latest and greatest Chrome version (updated today) there is some wonky behaviour in the Grid filter.
I've created a dojo script to show the issue http://dojo.telerik.com/ipihu
To see the issue, follow these steps
1 -On the ProductName column, click the menu button to see the column menu
2 - On the Filter sub menu, move your mouse to the right
3 - In the filter menu, hover your mouse over the text area (just below the Is equal to)
4 - The filter dialog goes away
The issue is #4. It shouldn't go away because i'm still hovering (intending to type something in)
I am using UI for ASP.NET MVC R3 2016 and I have enabled the column menu to allow for showing/hiding of columns. That resulted in the filter getting moved into this menu as well. I'm not crazy about that, but I could accept that if the filtering worked in the column menu. The problem is I can't just open the column menu, open filter and click on the textbox in the filter menu, the entire thing closes. However, if I first select a type of filter (starts with, etc.) and then go to the textbox it works. While it is a workaround it is not an acceptable one. The problem exists in Chrome but in Edge it seems to behave correctly.
This behavior can be observed by going to http://demos.telerik.com/kendo-ui/grid/column-menu. Try to filter on Ship Name without first selecting a filter type.
We generate dynamic fields where the user can define their precision (total number of digits) and scale (number of digits to the right of the decimal). We set max length based on precision + 1 for a negative and + 1 for the decimal such that if the user defined a field with precision 7 and scale of 3, the max length would be 9 (7 digits, 1 for potential and 1 for potential decimal). (When the scale is 0, the max length is precision + 1 for potential negative). We need to prevent users from entering more than the precision (e.g., the total number of digits) when entering values, regardless of whether the number is positive or negative as well as whether there's a decimal or not. For example, if the precision is 5 and scale is 3, max length would be 7. 12345 would be valid, as would -12345 or -123.45. However, 123456 or 12345.6 would not.
I have the following wired up (and executing upon keypress), but in traversing the sender object, I am unable to get to the options (where I believe the scale is kept based on this page):
$("#OBJ_MASKPERCENTAGEP5S3").kendoNumericTextBox({ format: "#.### \\%", decimals:3});$("#OBJ_MASKPERCENTAGEP5S3").keypress(function(){ checkNumericTextboxDecimals(this, null);});function checkNumericTextboxDecimals(sender, args) { window.setTimeout(function () { var textBox = $(sender.id).kendoNumericTextBox();
With the above in mind, given a Kendo Numeric Textbox, how does one go about getting the scale via jQuery?
(Something similar to the above worked great when we had RadControls implemented, but isn't functional using Kendo controls.)
Finally, why isn't this functionality supported within the control itself? I find it hard to believe we're the only ones who see this as a shortcoming.
Hi kendo team and users, I read that sample about changing the grid language, on that link:
http://demos.telerik.com/kendo-ui/grid/localization
I tried to edit that demo, and change the "full grid reconstruction" to a simple setOptions, and it seems to work:
http://dojo.telerik.com/@foxontherock/aJOBu/3
The $.getScripts replace the Grid prototype, so I just update the current gri messages from the prototype, like that:
grid.setOptions({ messages: kendo.ui.Grid.prototype.options.messages});Do you suggest to use that method or not? possible memory leak or something else?
And, is it available for all other kendo components?
For now, everything works fine, and the language change seems faster than rebuilding the whole grid.
Thank you