Hello, I'm trying to use the cascading combobox depicted in this demo in an MVC app
http://demos.telerik.com/kendo-ui/combobox/cascadingcombobox
everything seems to be working fine locally, but when i try to access the page from a different machine, the second drop down doesn't populate , it throws a 500 internal server error. Here is how i have it set up in my cshtml file and controller action. Could you please point me in the right direction. Thanks!
@Html.Kendo().ComboBox().Name("ddlService").Filter(FilterType.StartsWith).BindTo(new SelectList(Model.Services, "Value", "Text")).DataTextField("Text").DataValueField("Value").HtmlAttributes(new { style = string.Format("width:{0}px", 250) })@Html.Kendo().ComboBox().Name("Ruleset").AutoBind(false).Enable(false).CascadeFrom("ddlService").DataTextField("Name").DataValueField("ID").Placeholder("Select Ruleset...").DataSource(source => { source.Read(read => { read.Action("Ruleset", "Rule").Data("filterRulesets"); }).ServerFiltering(true); }).Events(e => { e.Change("onRulesetChange"); })
function filterRulesets() { return { ruletypeId: $("#ddlService").val() }; }
public JsonResult Ruleset(string ruletypeId) { List<RulesetModel> rulesetList = new List<RulesetModel>(); IEnumerable<Ruleset> lstRuleset = rulesetRepository.GetRulesetsByType(ruletypeId); foreach (Ruleset ruleset in lstRuleset) { RulesetModel rm = Mapper.Map<RulesetModel>(ruleset); rulesetList.Add(rm); } return Json(rulesetList.Select(r => new { ID = r.RulesetId, Name=r.RulesetName}), JsonRequestBehavior.AllowGet); }Hello everybody,
My company is looking for an interesting framework which includes, among other things, a scheduler. I am using the trial version for now and I have some issues with making it work with a REST server for the CRUD operations. Are there any examples for such an application ?
I also saw that it is possible to enable selections on the scheduler. I would like to create an event as soon as the selection is over (when the mouse click stopped). Right now, the user has to press enter to confirm the creation of a new event. Are such kind of customisations possible ? Are they easy to implement ?
By the way, I found this url in a thread on this forum : http://demos.kendoui.com/beta/web/scheduler/events.html Maybe you should hide it ;)
Thanks !
I am using tree list for internal messaging on my web page. If message is unread I mark entire row with bold. (I use column.template.):
columns: [ { field: 'subject', title: Translate.Messages.Subject, template: '#if (!readed) {# <strong> #: subject #</strong># } else { # #: subject # #}#' },var app = angular.module('App', [ 'ngRoute' ]);var busyIndicator = new WL.BusyIndicator('content', { text : "Loading ...", bounceAnimation : false, fullScreen : true, minDuration : 3, textColor : "black", opacity : 1, strokeOpacity : 0.25});app.factory("busyIndicator", function() { return busyIndicator;});app.config([ '$routeProvider', function($routeProvider) { $routeProvider. when('/module', { templateUrl : 'views/modules.html', controller : 'ModuleController' }). when('/module/:moduleId', { templateUrl : 'views/level.html', controller : 'LevelController' }). when('/module/:moduleId/:levelId', { templateUrl : 'views/quiz.html', controller : 'QuizController' }). when('/rank', { templateUrl : 'views/rank.html', controller : 'RankController' }). when('/help', { templateUrl : 'views/help.html', controller : 'HelpController' }). when('/result', { templateUrl : 'views/result.html', controller : 'ResultController' }). when('/nick', { templateUrl : 'views/nickname.html', controller : 'NickController' }). when('/login', { templateUrl : 'views/login.html', controller : 'LoginController' }). when('/loginSuccess', { templateUrl : 'views/loginSuccess.html', controller : 'LoginSuccessController' }). otherwise({ redirectTo : '/login', }); ;} ]);.. <script src="js/app.js"></script> </head> <body> <div ng-class="tabClass"> <div class="app_view ng-view"> </div> </div> </body>...In my MVVM template each repeated data item has a div where I want notifications to appear.
So do I have to make multiple kendoNotification objects for each repeater item, or can I just have one global one and set\change the appendTo object as needed?
Thoughts?
When the first field of the Treelist is hidden, the expand button will be appended to that hidden field, and thus never show.
The solution is easy: move the hidden field somewhere else, just not as first. However, it would be nice if this "issue" was resolved to prevent other people from looking everywhere ;)
When you select some option for the first time the MVVM value is not updated. You can test it in your demo.
When you confirmed it, please fix the bug fast. This is seriously.
Console output:
open, close, open, change, close
Expected would be:
open, change, close, open, change, close.