Telerik Forums
Kendo UI for jQuery Forum
1 answer
137 views

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);
       }

Georgi Krustev
Telerik team
 answered on 09 Apr 2015
1 answer
107 views

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 !

Vladimir Iliev
Telerik team
 answered on 09 Apr 2015
1 answer
359 views

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 # #}#'
                },

On click I show message details at the same time I would like to mark row as readed (remove strong). Is there an easy way to repaint/redraw one row. Of course I would first edit appropriate dataItem.

Alex Gyoshev
Telerik team
 answered on 09 Apr 2015
6 answers
452 views
Hi,

    I have an issue with setting Tab Indexes for Numeric Text boxes on IPAD safari. would appreciate your feedback.

Beast regards

Shivanka
Petur Subev
Telerik team
 answered on 09 Apr 2015
5 answers
381 views
http://demos.telerik.com/kendo-ui/grid/filter-menu-customization

I ran into an issue after upgrading to 2015.1.318 with a custom filter UI that uses a dropdownlist. The issue is manifested in the official demo as well. Try to filter the City column, pick any value and click filter. Nothing happens. Try again and select a different value, click filter, the filter is applied properly.
Herry
Top achievements
Rank 1
 answered on 09 Apr 2015
3 answers
327 views
I am not very familiar with routing, so I appreciate any extra help with this (and some patience too - thanks!)...

I have an existing index.html and app.js file using Angular routing.  I need to convert to Kendo UI routing to keep the SPA architecture.

Here is my app.js

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',
 
    });
    ;
} ]);

Here is the index.html (code where the SPA is used):
..
            <script src="js/app.js"></script>
        </head>
        <body>
 
            <div ng-class="tabClass">
                <div class="app_view ng-view">
                </div>
            </div>
 
        </body>
...

I have read through some documentation and tutorials, but I am not sure how to begin this or what I should change.

Please let me know what I need to do to get this up and running.

Thanks!


Petyo
Telerik team
 answered on 08 Apr 2015
1 answer
167 views

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?

sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 08 Apr 2015
1 answer
115 views

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 ;)

 

Atanas Georgiev
Telerik team
 answered on 08 Apr 2015
4 answers
230 views
Hi
Can we set the "reorderable:false," for a particular column or row of pivot grid where all other columns are set to default as "reorderable:true" .

Also need to hide delete option for a particular column or row. As of now I am hiding delete option using below code:
 #pivotgrid .k-pivot-rowheaders span.k-icon.k-si-close.k-setting-delete{
      display:none
      }
But it actually hide for all the columns and rows. I want it for a particular column/row.

Thanks in advance,

Regards
Satabdi
Satabdi
Top achievements
Rank 1
 answered on 08 Apr 2015
1 answer
105 views

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.

Atanas Georgiev
Telerik team
 answered on 08 Apr 2015
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?