Telerik Forums
UI for ASP.NET MVC Forum
1 answer
73 views

Hello,

I have a problems with @(Html.Kendo().Editor() in Vistual Studio 2015 ASP.NET 5 MVC 6 beta 8 with "Kendo.Mvc : 2015.3.1111".

No overload for method '​Editor' takes 0 arguments

When will it be available?

Best Regards

Davide

Dimiter Madjarov
Telerik team
 answered on 17 Nov 2015
5 answers
339 views

My use case involves the user editing the content of the editor while the server occasionally updates some of the values in the text

However, when the server sends an update and the editor.value("string") happens, the cursor position is reset to the start of the text, instead of leaving it where it is

I've tried fiddling with selected ranges and such but it doesn't seem to be working

Dimo
Telerik team
 answered on 17 Nov 2015
5 answers
629 views
Hi all!

I'm using the feature described here http://demos.kendoui.com/web/treeview/api.html to filter treeview items by text. 

I already have all nodes loaded (they are not all expanded), but when I apply the filter using the code above, it does not work.

treeview.dataSource.filter({
field: "text",
operator: "contains",
value: filterText
});

Example 

  • Item aa
  • Item bb
    • Item xx
    • Item yy

if search text is "xx", no items are displayed. Instead I would like to have the following result:

  • Item bb
    • Item xx
But if your search text is "aa", "bb" or some string similar to root item texts ... the nodes are displayed

Does anyone knows how to make the filter applying for all nodes?

BTW! I'm using MVC and the last build of Kendo

Thanks!
Alex Gyoshev
Telerik team
 answered on 17 Nov 2015
2 answers
84 views

I'm not sure if this us something that a Keno control could handle but I thought I'd best ask anyway.  On part of my form the user can add multiple entires before submission.  I need to know if it's possible to handle this behaviour with Kendo controls?  I've attached a couple of images to show you what I mean.

The user can add as many items as they want.

Many thanks

 

Allan

Kiril Nikolov
Telerik team
 answered on 17 Nov 2015
1 answer
367 views

Hi,

With filterable->mode set to row, is it possible to filter a date between two dates? I ​found this thread http://www.telerik.com/forums/how-to-define-a-kendo-grid-column-filter-between-two-dates, and currently have ​it applied ​to grid menu filter, but not sure how to make it work when the filterable mode is row.

 

Thanks,

Lisa

 

Vladimir Iliev
Telerik team
 answered on 17 Nov 2015
3 answers
409 views

I am in need of some help, I'm building a web application that uses the KendoUI, specifically the grid to display data.  I've used the entity framework under a "database first" scenario, this means that the models are created for me for all the tables in my database.  I'm displaying this data in the Kendo grid but I can't edit or delete any of the entries (inline with ajax).  If you delete an item it returns when you regresh the screen and the update button does nothing.  I suspect this is because we have no functions to handle these events.

Is there anyway I can utilise the already created scaffolded controller to do this as it already as an edit and delete function in it.

 Any help would be appreciated.

Kiril Nikolov
Telerik team
 answered on 17 Nov 2015
1 answer
74 views
I'm having some issues with the Grid paging in Kendo MVC. Everything on the grid is accessible except the paging options in the bottom left corner. I should be able to use ALT + Page Up or ALT + Page Down, but these do not work. Any idea what may be causing this issue?
Plamen
Telerik team
 answered on 17 Nov 2015
8 answers
120 views

Hi,

I have 2 Kendo Grids in which 2nd grid is read based on the selection of row of 1st grid. The code is:

1st grid

        <% Html.Kendo().Grid<EvaluationsQuestionsEvaluationVersionGridViewModel>(Model.VersionsGridModel)
            .Name("Versions")
           .DataSource(dataSource => dataSource
                    .Ajax()
                    .Model(model => model.Id(a => a.EvaluationVersionId))
                    .ServerOperation(true)
                    .Create(create => create.Action("InsertEvaluationVersion", "Evaluations"))
                    .Read(read => read.Action("LoadEvaluationsQuestionsEvaluationVersionGridAjax", "Evaluations"))
                    .Update(update => update.Action("UpdateEvaluationVersion", "Evaluations").Data("onUpdateEvaluationVersion"))
                )
            .Events(e => e.Change("onVersionGridRowSelect")
                          .Edit("onEditEvaluationsVersion")
                          .Save("onSaveEvaluationsVersion")
                    )​

.....

2nd grid

        <% Html.Kendo().Grid<EvaluationsQuestionsEvaluationPillarsGridViewModel>()
            .Name("Pillars")
            .DataSource(dataSource => dataSource
                  .Ajax()
                  .Model(model => model.Id(a => a.EvaluationMasterPillarId))
                  .ServerOperation(true)
                  .Read(read => read.Action("LoadEvaluationsQuestionsEvaluationPillarsGridAjax", "Evaluations")
                                    .Data("onLoadEvaluationsQuestionsEvaluationPillarsGridData"))
             )​

......

        function onVersionGridRowSelect(e) {
            var grid = $("#Versions").data("kendoGrid");
            var currentRow = grid.dataItem(grid.select());
            var evaluationVersionId = currentRow.EvaluationVersionId;

            $('#evaluationVersionId').val(evaluationVersionId);
            $("#Pillars").data("kendoDropDownList").dataSource.read();
        }

        function onLoadEvaluationsQuestionsEvaluationPillarsGridData(e) {
            var evaluationVersionId = $('#evaluationVersionId').val();  // "evaluationVersionId" is set beforehand
            var showDeletedCheckbox = $('#Checkbox1').val();

            return { evaluationVersionId: evaluationVersionId, showDeleted: showDeletedCheckbox }
        }

But 2nd grid can not be read because Data function "onLoadEvaluationsQuestionsEvaluationPillarsGridData" is not called. So what is the problem in code?​ Thanks.

york
Top achievements
Rank 1
 answered on 16 Nov 2015
4 answers
1.4K+ views
Hi,
If I have grouped my kendogrid by multiple columns, Can I hide the header for the first column and display only the second header? Right now, after grouping by two columns, we have two headers. I can get the details of the first groupby and display in the headertemplate of the second grouping.. So, want to do away with the header created by the first grouping.
As shown in the screenshot, I want to retain the header encircled in GREEN and do away with the one in red. I would still want the grouping but just don't want the header.
Will
Top achievements
Rank 1
 answered on 16 Nov 2015
4 answers
91 views

Hello to all.

I'd like to validate a field, for example the standard Title field in an Calendar Event.

The validation works well in the BASIC example:

http://demos.telerik.com/aspnet-mvc/scheduler/index

I added the [Required] attribute on the Model.

Anyway in my code, the generated HTML code doesn't have the "required" attribute end not any validation is performed.

Someone can help me please?

 

Vladimir Iliev
Telerik team
 answered on 16 Nov 2015
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
Upload
ComboBox
MultiSelect
ListView
Window
TabStrip
Menu
Installer and VS Extensions
Spreadsheet
AutoComplete
TreeList
Gantt
PanelBar
NumericTextBox
Filter
ToolTip
Map
Diagram
Button
PivotGrid
Form
ListBox
Splitter
Application
FileManager
Sortable
Calendar
View
MaskedTextBox
PDFViewer
TextBox
Toolbar
MultiColumnComboBox
Dialog
DropDownTree
Checkbox
Slider
Switch
Notification
ListView (Mobile)
Pager
Accessibility
ColorPicker
DateRangePicker
Wizard
Security
Styling
Chat
MediaPlayer
TileLayout
DateInput
Drawer
SplitView
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Template
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
AppBar
BottomNavigation
Card
FloatingActionButton
Licensing
Localization
MultiViewCalendar
PopOver (Mobile)
Ripple
ScrollView (Mobile)
Switch (Mobile)
PivotGridV2
FlatColorPicker
ColorPalette
DropDownButton
AIPrompt
PropertyGrid
ActionSheet (Mobile)
BulletGraph
Button (Mobile)
Collapsible
Loader
CircularGauge
SkeletonContainer
Popover
HeatMap
Avatar
ColorGradient
CircularProgressBar
SplitButton
StackLayout
TimeDurationPicker
Chip
ChipList
DockManager
ToggleButton
Sankey
OTPInput
ChartWizard
SpeechToTextButton
InlineAIPrompt
DateTimePicker
TimePicker
StockChart
RadialGauge
ContextMenu
ArcGauge
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?