Hi, I good idea could be if we can define a "Top Level Class Name" for css class to custom stylesheet produced by themebuilder. Example: Image to use one of your standard stylesheet if i have in my page (razor) @(Html.Kendo().DropDownList().Name("ControlName") ... ) that for sure render with the theme loaded in html header section and after i put <div class="MyCustomClassNameForKendoUiWidget"> @(Html.Kendo().DropDownList().Name("ControlName2") </div> that will be render with an different stylesheet loaded in header section of my page and that was produced by your ThemeBuilder What i obtain is to use different styles for KendoUI widget in same page.
Add a method that reverts the last edit to the grid. This way there could be an "Undo" button.
When you click on a tab in a TabStrip, the expand animation shrinks the content area's height to zero, then expands it to the height of the new tab. This isn't bad, but gives a "bounce" effect to the control, which can be offputting (I've had complaints about it from users). If would be nice if you could animate it from its current height directly to the new height, without shrinking to zero in between. That would be a much nicer effect.
When you click on a tab in a TabStrip, the expand animation shrinks the content area's height to zero, then expands it to the height of the new tab. This isn't bad, but gives a "bounce" effect to the control, which can be offputting (I've had complaints about it from users). If would be nice if you could animate it from its current height directly to the new height, without shrinking to zero in between. That would be a much nicer effect.
Similar to http://demos.devexpress.com/ASPxEditorsDemos/ASPxDropDownEdit/DropDownEdit.aspx
Adobe AIR imposes some security restrictions on Javascript code written in certain ways/styles (e.g., use of "eval" and "Function" declaration inside code, which are used in KendoUI), but offers a fairly complex implementation facility (called the "sandbox bridge") so developers can work around these security restrictions... Please provide Adobe AIR/Javascript developers "BEST PRACTICES" articles/tutorials on how to code the KendoUI widgets that are incompatible with the Adobe AIR security restrictions.
This causes Kendo grid's javascript dataItem method to fail since it is trying to access a blank array. The wrapper is useless to me without this.
Wouldn't it be nice to be able to filter a field as a property of a series? You could populate stacked and grouped column charts with a single datasource, without having to parse through it manually with js.
We have built some really cool stuff with Kendo UI Mobile. We want to present or Apps on regular web pages with non-HTML5 browsers. Maybe in an IFRAME like Facebook. We need graceful degradation functionality. Any interest?
When the destroy operation fails for some reason (exception or ModelState error) the item on the client will be removed. Don't remove the item from the grid if operation fails in the backend.
I shouldn't be penalized in having to write more code to get kendo validation working with kendo controls. You guys should know I'm validating a KendoNumericTextBox and auto-place the span in the appropriate spot outside of the control. http://www.kendoui.com/forums/framework/validation/error-tooltip-showing-up-in-the-picker.aspx
It would be good if you could enable the KendoUI for MVC buttons to have an "image + text" look and feel in the same way that the Telerik MVC Extensions did. Thanks
Right now, it is not possible to specify data-max or data-min for fields as time or dates (data-role="datepicker", data-role="timepicker"...) since the parsing of the options only recognizes null, true, false, float and JSON objects (NOTE: it works fine if you use kendoTimPicker({min:...}). So I propose to change parseOption in kendo.core.js for adding an extra condition as: else if (evalRegExp.test(value)) { var res = evalRegExp.exec(value); if (res[1] !== null) { value = eval(res[1]); } } where evalRegExp is: evalRegExp = /^eval\((.*)\)/ and its usage would be define data-min="eval(new Date(2000,1,1,6,0,0))" Any option that matches eval(.*) would be returned as result of evaluating it. The final code would be: var templateRegExp = /template$/i, jsonRegExp = /^\s*(?:\{(?:.|\n)*\}|\[(?:.|\n)*\])\s*$/, jsonFormatRegExp = /^\{(\d+)(:[^\}]+)?\}/, dashRegExp = /([A-Z])/g, evalRegExp = /^eval\((.*)\)/; function parseOption(element, option) { var value; if (option.indexOf("data") === 0) { option = option.substring(4); option = option.charAt(0).toLowerCase() + option.substring(1); } option = option.replace(dashRegExp, "-$1"); value = element.getAttribute("data-" + kendo.ns + option); if (value === null) { value = undefined; } else if (value === "null") { value = null; } else if (value === "true") { value = true; } else if (value === "false") { value = false; } else if (!isNaN(parseFloat(value))) { value = parseFloat(value); } else if (jsonRegExp.test(value) && !jsonFormatRegExp.test(value)) { value = $.parseJSON(value); } else if (evalRegExp.test(value)) { var res = evalRegExp.exec(value); if (res[1] !== null) { value = eval(res[1]); } } return value; }
Hello, I want to update the kendo ui version to 2012.2.913. but couldnt find the proper link to update it. please help me. Thank You
Our data model classes look kind of like this: public abstract class VMBaseDynamic<TViewModel, TModel> { public object Id { get; set; } } public abstract class VMBaseGeneric<TViewModel, TModel, TIdentifier> : VMBaseDynamic<TViewModel, TModel> { public new virtual TIdentifier Id {...} } So anything that subclasses from them has two Id properties, the one in VMBaseDynamic hidden in VMBaseGeneric. The reflection code in the newest Kendo code, in GridEditableSettings.CreateDefaultItem, calls GetProperty() on the data model class for each of the column names. One of them is "Id". It finds two, and chokes with an "ambiguous match found" error. I ended up working around this by adding a function which searches through the class's ancestors for the first matching property, as in http://stackoverflow.com/questions/994698/ambiguousmatchexception-type-getproperty-c-sharp-reflection; you may want to consider this as a friendlier approach in future.
There are some bug on parseExact function where check literal return value is not checked producing as consequence that invalid dates are accepted. You can see this in http://jsfiddle.net/OnaBai/LnaTq/1/ Where I show that a date as String that equals to 2012-09-26 and parsed with format HH:mm is recognized as Jan 01 1900 20:12:00 because the 2012 gets converted into 20 hours and 12 minutes. As I mentioned above the bug is due to the fact that checkLiteral return value is not tested in parseExact function allowing the execution to continue skipping the ':' of the format string. If you want me to send you fixed solution I have already implemented it. By the way, watch out that all but one checkLiteral should be checked for false.
When I hit Update wizard, there were pending changed in TFS so the Wizard made me confirm the update failed 849 times ................................... Sample .. Get latest on checkout is not supported in local workspaces. Checking out the local version. ......csproj has been automatically checked out for editing. The item C:\Projects\........\Scripts\kendo\2012.2.710\kendo.resizable.min.js could not be found in your workspace, or you do not have permission to access it. The item C:\Projects\........\Scripts\kendo\2012.2.710\kendo.selectable.min.js could not be found in your workspace, or you do not have permission to access it. The item C:\Projects\........\Scripts\kendo\2012.2.710\kendo.slider.min.js could not be found in your workspace, or you do not have permission to access it. The item C:\Projects\........\Scripts\kendo\2012.2.710\kendo.sortable.min.js could not be found in your workspace, or you do not have permission to access it. The item C:\Projects\........\Scripts\kendo\2012.2.710\kendo.splitter.min.js could not be found in your workspace, or you do not have permission to access it. The item C:\Projects\........\Scripts\kendo\2012.2.710\kendo.tabstrip.min.js could not be found in your workspace, or you do not have permission to access it. The item C:\Projects\........\Scripts\kendo\2012.2.710\kendo.timepicker.min.js could not be found in your workspace, or you do not have permission to access it.
I'd like to use Kendo, but the available themes are too restrictive, much less vibrant that the MVC themes. And the Themebuilder is not adequate to extend or alter them. Can you add richer themes to Kendo?
I've been using nRoute framework on silverlight, and some MVVM features that it provides, really is a miss on kendoo ui. for example some of the "killer features": 1. On a view, you can apply url like template attribute ("Content/Views/functionality/Loadstuff/{AccountId}") and the internal routing will find that and initiate, when it is called via global static navigate method. 2. The binding of View and ViewModel is done very well. On the view model, you apply attribute that this viewmodel is working with this view. 3. Containers. You can call navigate url, and get the rendered viewmodel. This helps application composition as you can have a some layout templates, and apply custom attribute on div, like "container-url" to some internal url, and it will fetch the rendered view and put it there. 4. Communication framework. Literally a Pub/Sub. 5. Modules/Dependency tracking. For example, i have SPA application, that loads some basic controls for js, and when user clicks reporting, it will check that reporting is dependent on Dataviz, loads dataviz, and loads viewmodel. 6. Behaviors, very common things, like, ValueNotNull, ValueNull, BooleanValue for someexpression. This allow you to create more dynamic ui, without adding new code in your viewmodel