
Hello,
I am trying to utilize the kendo spreadsheet control in my mvc project. The data loads fine when toolbar is set to false, however, when we set toolbar to true, the attached is what renders. Any ideas as I don't see any errors. Thanks.
Hi , I am working on the kendo editor but I need some red color on the text . Can it be possbile? I have followed the below link but it has no information about it.
Anyone any ideas??
http://demos.telerik.com/aspnet-mvc/editor
Thanks


I am making a page with two html forms, The first has two kendo comboboxes in which the user selects some options and then presses submit on the first section. I then look in the database to see if the user inputted a duplicate value. If a entry is found it returns it. I need the information from the returned entry to populate in the corresponding fields. Is this possible?


I have some data in a grid that is just too wide; the number of columns pushes my custom edit and delete buttons off the side. So want I'd like to do is cut back on the number of columns in the grid, but when selecting a row, popup a tooltip with the rest of the data, if and only if it meets a certain criteria.
If they select a row where the visible column of Error is false, do nothing. If they select a row where the Error column is true, show a tooltip with the error.
How can I implement this?
BTW, I only use whole row select, never individual column selections, and I never use inline editing, always the popup editor. This makes hovering or selecting a whole row much easier.
How can I intercept the Update button press on the popup editor?
I don't like using the Html Model "For" helpers, instead I'm a bit old school where I use javascript to populate my form before it shows. Because of this, when I Add or Edit a record, obviously the model isnt populated with the form field values. So how I can detect when the Update button was pressed for either an Add or Edit, and so I can collect the values programmatically to pass to the MVC action for Edit / Create?

I have a popup dialog (Using Kendo Window), and the first form field in this window form is an autocomplete. When the dialog opens, the control does not have focus until the user clicks in it, which I want to eliminate. I'd like to set the focus there, but it doesn;t seem to work.
@(Html.Kendo().Window() .Name("polciyEdit") .Title("Add New Master Policy") .Visible(false) .Draggable() .Position(p => p.Top(150)) .Width(700) .Modal(true) .Content(@<text> <div id="PolicyEdit"> <table style="width: 100%;"> <tr> <td style="text-align: right"> @Html.Label("Client:") </td> <td> @(Html.Kendo().AutoComplete() .Name("addClientId") .DataTextField("ClientName") .Filter("contains") .HtmlAttributes(new { style = "width: 100%", placeholder = "Client ID or Client DBA Name", tabindex = 1 }) .DataSource(s => s.Read("GetClientList", "Policy").ServerFiltering(false)) .Events(e => e.Select("clientSelected")) ) </td> </tr> <tr> <td style="text-align: right"> @Html.Label("Doing Business As: ") </td> <td> <span id="clientDBA"></span> </td> </tr> <tr> <td style="text-align: right"> @Html.Label("Location Code: ") </td> <td> @Html.Kendo().TextBox().Name("addLocCode").HtmlAttributes(new { style = "width: 100%;", tabindex = 2 }) </td> </tr> <tr> <td style="text-align: right"> @Html.Label("WC State: ") </td> <td> @(Html.Kendo().DropDownList() .Name("addWCState") .DataValueField("Abbreviation") .DataTextField("Abbreviation") .BindTo(new USA().States) .OptionLabel(" -- Select State -- ") .HtmlAttributes(new { style = "width: 100%;", tabindex = 3 }) ) </td> </tr> <tr> <td style="text-align: right"> @Html.Label("Provider: ") </td> <td> @(Html.Kendo().DropDownList() .Name("providerCode") .DataValueField("RecordId") .DataTextField("ProviderName") .BindTo((IEnumerable)ViewData["providers"]) .OptionLabel("-- Select Provider --") .HtmlAttributes(new { style = "width: 100%;", tabindex = 4 }) ) </td> </tr> <tr> <td style="text-align: right"> @Html.Label("Policy Id: ") </td> <td> @Html.Kendo().TextBox().Name("addPolicyId").HtmlAttributes(new { style = "width: 100%;", tabindex = 5 }) </td> </tr> <tr> <td style="text-align: right"> @Html.Label("Effective Date: ") </td> <td> @(Html.Kendo().DatePicker().Name("addEffDate").HtmlAttributes(new { style = "width: 100%", tabindex = 6 })) </td> </tr> <tr> <td style="text-align: right"> @Html.Label("Expiration Date: ") </td> <td> @(Html.Kendo().DatePicker().Name("addExpDate").HtmlAttributes(new { style = "width: 100%", tabindex = 7 })) </td> </tr> <tr> <td style="text-align: right"> @Html.Label("PEO: ") </td> <td> @(Html.Kendo().DropDownList() .Name("addPeo") .DataValueField("Value") .DataTextField("Text") .OptionLabel("-- Select PEO --") .BindTo(new List<SelectListItem>() { new SelectListItem() { Text = "10", Value = "10" }, new SelectListItem() { Text = "40", Value = "40" }, new SelectListItem() { Text = "60", Value = "60" } }) .HtmlAttributes(new { style = "width: 100%;", tabindex = 8 }) ) </td> </tr> <tr><td colspan="2"><hr class="info"/></td></tr> <tr> <td colspan="2" style="text-align: right"> <a id="btnAddPolicy" role="button" class="k-button k-button-icontext k-primary k-grid-update" href="#" tabindex="9"><span class="k-icon k-i-check"></span>Update</a> <a id="btnCancelAdd" role="button" class="k-button k-button-icontext k-grid-cancel" href="#" tabindex="10"><span class="k-icon k-i-cancel"></span>Cancel</a> </td> </tr> </table> </div> </text>))
The code that opens the window is:
$("#addNewPolicy").click(function(e) { e.preventDefault(); $("#polciyEdit").data("kendoWindow").open(); $("#addClientId").data("kendoAutoComplete").focus(); });
But the control still isn;t given focus unless the user clicks in the form field. So how do I programmatically set the focus to the first control (the autocomplete control) when the dialog opens?
