Telerik Forums
Kendo UI for jQuery Forum
2 answers
336 views

Hello.  I noticed a bug where the validation message does not disappear for the mobile switch, but does for a regular switch.

Dojo: http://dojo.telerik.com/ISuvI

Can you fix this please?

John
Top achievements
Rank 1
 answered on 18 Oct 2017
5 answers
581 views
Hello,
I use Kendo Scheduler in my solution, and use the collection of Employees as resources for columns. Each of the employees has his/her own work hours, so I want to highlight cells grey for non-working hours and white for working hours in each column. But I could not find any appropriate solution. Is it even possible using to?

Best Regards
Nencho
Telerik team
 answered on 18 Oct 2017
5 answers
311 views

I'm having some trouble getting my nested listview to sort properly(child listview). I want to be able to sort each listview individually.

<div class="mainsortable">

    @(Html.Kendo().ListView<KendoUI_MVC.ViewModel.Product>()
    .Name("listView")
    .TagName("div")
    .ClientTemplateId("template")
    .DataSource(dataSource =>
    {
        dataSource.Read(read => read.Action("ProductGrid_Read", "ListView"));
        dataSource.PageSize(21);
    })
    .Pageable()
    )

    @(Html.Kendo().Sortable()
        .For("#listView")
        .Filter(">div.product")
        .Cursor("move")
        .PlaceholderHandler("placeholder")
        .HintHandler("hint")
            //.Events(events => events.Change("onChange"))
    )

</div>

<script type="text/x-kendo-tmpl" id="template">

    <div class="product">
        <div class="panel panel-default">
            <div class="panel-heading">#=ProductID# #:ProductName#</div>
            <div class="panel-body">
                <div class="partialsortable">
                    

                    @(Html.Kendo().ListView<KendoUI_MVC.ViewModel.Order>()
                        .Name("OrderlistView_#=ProductID#")
                        .TagName("div")
                        .ClientTemplateId("ordertemplate")
                        .DataSource(dataSource =>
                        {
                            dataSource.Read(read => read.Action("Order_Read", "ListView", new { ProductID = "#=ProductID#" }));
                            dataSource.PageSize(21);
                        })
                            //.Pageable()
                                 .ToClientTemplate()
                    )

                    @(Html.Kendo().Sortable()
                        .For("#OrderlistView_#=ProductID#")
                       .Filter(">div.order")                     
                        .Cursor("move")
                        .PlaceholderHandler("placeholder")
                        .HintHandler("hint")
               
                                 .ToClientTemplate()
                    )


                </div>
            </div>
        </div>
    </div>
</script>

 

<script type="text/x-kendo-tmpl" id="ordertemplate">

    <div class="order">
        Unit Price : #:UnitPrice#<br />
        Quantity : #:Quantity#<br />
        Discount : #:Discount#
    </div>

</script>

<script>
    function placeholder(element) {        
        return element.clone().addClass("placeholder");
    }

    function hint(element) {
        return element.clone().removeClass("k-state-selected");
    }
</script>

.

bold sortable controller does not working

Tsvetina
Telerik team
 answered on 18 Oct 2017
3 answers
131 views
can the autocomplete no difference when key the halfwidth or fullwidth word?
Dimitar
Telerik team
 answered on 18 Oct 2017
7 answers
364 views

I'm having an issue where even in the simplest Kendo UI MVC 5 application I can not see the results of Kendo widgets. I tried using the simple datapicker widget and I don't see the icon to pick the date. And with this autocomplete widget. When uploaded, I don't see a text box to type into. 

 

@using Kendo.Mvc.UI

@{ 
    ViewBag.Title = "HomePage";
}
@{ 
    var countries = new String[] {
                "America",
                "Ansonia",
                "Latvia",
                "Italy",
                "Lithuania"};
        }
<br/>
<br />
<br />
<br />
<div>
        @{Html.Kendo().AutoComplete()
                            .Name("myAutoCompletion")
                            .Placeholder("Country")
                            .BindTo(@countries);
        }

</div>

Nencho
Telerik team
 answered on 18 Oct 2017
4 answers
1.2K+ views
When I create new record in grid and after that I delete that row, delete action method is not requested by client side as I see in firebug and Delete action doesnt fire. What should I do with this?

My grid:

<code>

@(Html.Kendo().Grid<TelerikMvcApp2.Models.Car>()
    .Name("grid")
    .Columns(c=>
    {
        c.Bound(x=>x.Name);
        c.Bound(x=>x.Model);
        c.Bound(x => x.YearOfProduction);
        c.Bound(x => x.Cena);
        c.Command(cmd => cmd.Edit());
        c.Command(cmd => cmd.Destroy());
    })
    .ToolBar(toolbar=>toolbar.Create())
    .Sortable()
    .Editable(e=>e.Mode(GridEditMode.PopUp))
    .Filterable()    
    .DataSource(d=>d
    .Ajax()
    .Model(m=>m.Id(p=>p.Id))
    .Read("GetCars","Home")
    .Destroy("Delete","Home")
    .Create("Create","Home")
    .Update("UpdateCar","Home")
    )
    )

</code>
 
My delete Action:

<code>

 [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Delete([DataSourceRequest] DataSourceRequest request, Car car)
        {

            return Json(new[] { car }.ToDataSourceResult(request, ModelState));
        }

</code>     






Michael
Top achievements
Rank 1
 answered on 18 Oct 2017
3 answers
1.3K+ views

Hello,



In my application (Dynamics 365), I added many Kendo Grid (using TypeScript and C# WCF as Backend). I'd like to implement a general dynamic functionnality of server filtering (because I use paging on read request, so it must be filtered on server side).

 

Firstly, I'd like to know how to implement exactly a server filtering of data source. In my backend function, I have the DataSourceRequest parameter, I added serverFiltering:true to my DataSource definition in TS. But I think that I miss something here, particularly the filter parameters on the data source (JSON format right?). Something like this:

   "take":10,
   "skip":0,
   "page":1,
   "pageSize":10,
   "filter":{ 
      "filters":[ 
         
            "field":"Column1",
            "operator":"eq",
            "value":"val1"
         },
         
            "field":"Column1",
            "operator":"eq",
            "value":"val2"
         },
         
            "logic":"or",
            "filters":[ 
               
                  "field":"Column2",
                  "operator":"eq",
                  "value":5
               },
               
                  "field":"Column2",
                  "operator":"eq",
                  "value":1
               }
            ]
         }
      ],
      "logic":"and"
   },
   "group":[ 
 
   ]
}

 

How it can be done?Should I check if filtering is applied every column of my grid and what is the filter? And I guess that once the filter passed, I will be able to read it on the parameter passed to the backend function (request.Filters).

 

I'm newbie on Kendo, so I'll appreciate a detailed answer with full example if possible.

 

Thank you.

Moshe.

Moshe Hayun
Top achievements
Rank 1
 answered on 18 Oct 2017
1 answer
143 views

Hi,

I have a problem in dropdownlist angularjs

how to set dropdownlist ng-model after get ajax data

Sample my codes: http://dojo.telerik.com/@muratoner/icoBuB

Dimitar
Telerik team
 answered on 18 Oct 2017
7 answers
447 views
Hi, The gantt charts have the default feature of displaying a red marker on top of the time slot for the current date/time. Is it possible to add this marker to any other time slot other than the current date ? Can anyone please provide an answer, because this feature is crucial for a project that I'm working on.
Mohomed
Top achievements
Rank 1
 answered on 18 Oct 2017
2 answers
189 views

Hello everyone,

the wanted behavior is that I want to sort 3 columns with multi sort functionality of the grid, but the problem is that two of my columns are build from objects and the multi sort is not working over them. 

This is the example https://jsfiddle.net/x3Lqn2h3/

So, try first to sort over "age" descending (it works) after that try to sort over "name" (it works) and finally sort over "address" (it does not work). When you click over address the values "Pernik" and "Silistra" should swap their places but they don't.

 

Thank you for your help in advance!

Petar
Top achievements
Rank 1
 answered on 18 Oct 2017
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?