

I found an issue and could not find on forums if anyone else has reported it. The steps are these
1. Grid with column reorder and column menu
2. On a column open the column menu to show/hide columns
3. Reorder the grid columns
4. Open the column menu for the same column => the columns in menu are in the initial state (before reorder)
5. Open column menu for any other column => the columns menu is in the correct state (after reorder)
Questions:
Is this issue going to be fixed in framework? If not is there a workaround for this issue?
On related note: Is there available a custom Widget that simulates the Show/Hide columns menu (having the visibility columns outside of the grid on a button related to this thread Add ColumnMenu To Custom Toolbar On Telerik MVC Grid).

I've tried using Ajax Binding (and also ToDataSourceResult Binding) from this article to populate a DropDownList. I copy/pasted the exact code from the article into my solution. The GetProducts method on the controller returns 78 products, yet the DropDownList stays empty.
What am I doing wrong?
Controller
public JsonResult GetProducts(){ NorthwindDataContext northwind = new NorthwindDataContext(); return Json(northwind.Products, JsonRequestBehavior.AllowGet);}
View
@(Html.Kendo().DropDownList() .Name("productDropDownList") .DataTextField("ProductName") .DataValueField("ProductID") .DataSource(source => { source.Read(read => { read.Action("GetProducts", "Home"); }) .ServerFiltering(true); }) .SelectedIndex(0) )
I am using the MVC Menu component, and I am using is in a slide out div. So hit a menu button, a div slides out from the side of the screen, showing menu choices. However, the menu itself (with a Vertical Orientation) fills up the entire div, and submenu items are not showing up because I assume they're being cut off by the div. I have tried setting an HtmlAttriibutes on the main menu itself, with a style of z-index: 1000 to ensure it's the top most, but that doesn't work. I've also tried using PopupCollisions to false, but I guess that's for something else entirely.
So my question is, if a menu is part of a popup or slide out div, how to ensure sub menu items get displayed, and secondly, where do I put in the URLs for these menu items? All the demos only show the menus, but not what should happen when a menu is clicked?

<div> @(Html.Kendo().TreeView() .Name("treeview") .DataTextField("DisplayValue") .DataSource(dataSource => dataSource .Read(read => read .Action("CategoryTree", "Category") ) ) ) </div>.Template("#: item.DisplayValue # " + @Html.ActionLink("Update", "Update", new { id = "newId" }).ToHtmlString().Replace("newId", "#: item.id #"))<div style="padding-top: 10px;"> @(Html.Kendo().TreeView() .Name("treeview") .DataTextField("DisplayValue") .DataSource(dataSource => dataSource .Read(read => read .Action("CategoryTree", "Category") ) ) .Template("#: item.DisplayValue # " + @Html.ActionLink("Update", "Update", new { id = "newId" }) .ToHtmlString().Replace("newId", "#: item.id #") + " | " + @Html.ActionLink("Deactivate", "Deactivate", new { id = "newId" }) .ToHtmlString().Replace("newId", "#: item.id #")) )</div>Hello,
I'm trying to set the width of a Kendo window I am using, and have so far been unable to get it to work. I've attached my code below, and I've bolded the three different places where I have tried setting the width (lines 7, 14, and 21) --so far, none of these individually or combined have created any effect on the width of the window.
Am I missing something here?
Thanks!
01.@(Html.Kendo().Window()02. .Name("preview")03. .Title("Preview")04. .Visible(false)05. .Modal(true)06. .Draggable(true)07. .Width(100)08.)09. 10.<script type="text/javascript">11. 12. function openPreview(storyID) {13. $("#preview").kendoWindow({14. width: 10015. });16. var dialog = $("#preview").data("kendoWindow");17. 18. dialog.refresh({19. data: { storyID: storyID },20. url: "@Url.Action("Preview", "Home")",21. width: 10022. });23. 24. dialog.center().open();25. }26.</script>Here is the existing thread link http://www.telerik.com/forums/how-to-change-command-buttons-dynamically-in-data-bound-event#KRtpAM_XoEeiI-UCwgwzsw
and here is my fiddle http://jsfiddle.net/valchev/Q69by/18/
I want to implement this using MVC using razor syntax . Please help
Thanks
I'm trying to use the NumericTextBox for values that are percentages, with three decimal points. How do I format it so it displays properly? I tried using .Decimals(3) but it still only displayed with two decimal numbers. For example, 34.567 displayed as 34.57... And it should also be a percentage, allowing only values up to 100.000
Here is what I have
@(Html.Kendo().NumericTextBox<decimal>() .Name("adminFee") // .Format("p") commented out since it didn;t appear to work .Min(0) .Max(100) .Decimals(3) .HtmlAttributes(new { style = "width: 100%", data_bind="value: AdminFee" }) )According to your docs:
http://docs.telerik.com/aspnet-mvc/helpers/combobox/overview#parameter-sending-to-server
There is a default event handler for the Data callback of the datasource. This event handler passes a reference to the combobox firing the event that can be resolved by running ".data("kendoComboBox")" against it.
However if I manually hookup the same function, I get an error when typing something into the combox, because the "selector" parameter isn't actually a combobox.
http://dojo.telerik.com/iPeca/3
It appears to be a bug?
I am trying to create a Data function that sends a reference to the combobox calling it as a parameter. And I cannot use strict ID selectors, because all my comboboxes have ID's that are generated dynamically at runtime.