Telerik Forums
UI for ASP.NET MVC Forum
1 answer
464 views
Is Kendo UI for MVC compatible with Bootstrap 4(alpha5) and Jquery 3.1.1
Rumen
Telerik team
 answered on 04 Nov 2016
9 answers
208 views

Hi,

I can not end the Scaffolding dialog (see http://http//docs.telerik.com/kendo-ui/aspnet-mvc/helpers/chart/scaffolding )

The Add Button and the Series Type Combobox from Chart Option s is alway enabled.

Any ideas, what could be wrong?

Before I crated a EF6 Model from a SQL Database and use a Class for a table  or view.

Peter

John
Top achievements
Rank 1
 answered on 04 Nov 2016
1 answer
57 views

Can anyone else get to this page without being redirected to the aspnet introduction page?

target:

http://docs.telerik.com/kendo-ui/aspnet-mvc/validation

 

gets redirected to http://docs.telerik.com/kendo-ui/aspnet-mvc/introduction

 

Cannot get to the validation page using the links in the side bar or at the bottom of the intro page.

Ianko
Telerik team
 answered on 04 Nov 2016
2 answers
1.0K+ views

Here's my MVC ListView:

@(Html.Kendo().ListView<EntryExitBoard>()
    .Name("matrixEntryExitBoardLV")
    .DataSource(dataSource =>
    {
        dataSource.Read(read => read.Action("GetEntryExitBoard", "Warehouse").Data("getStartDepotNumber"));
    })
    .TagName("div")
    .ClientTemplateId("entryExitTemplate")
     .Selectable(selectable => selectable.Mode(ListViewSelectionMode.Single))
     .Events(events => events.Change("onEntryExitBoardChange"))
    )

 

It loads initially with no problem. But when the following code tries to refresh it...

 

var listView = $("#matrixEntryExitBoardLV").data("kendoListView");
listView.refresh();

 

It steps over the refresh without throwing an error, but the list view doesn't refresh.

 

Graham
Top achievements
Rank 2
Iron
Iron
 answered on 04 Nov 2016
5 answers
201 views

My need is relatively straight forward, but I am not normally a report person, nor a charting kind of person, so my knowledge of different charting types and values is practically nil.

I have a List<ClientBreakdown>, which is just a collection of a very simple class:

public class ClientBreakdown
{
    public string State { get; set; }
    public int Count { get; set; }
}

 

What I'd like is a Bar Chart, with the States alphabetically along the bottom, and the number of Clients in each state as the value of the bar.

I've done this:

@(Html.Kendo().Chart<ClientBreakdown>()
    .Name("chart")
    .Title("Breakdon of Client States")
    .Legend(l => l.Position(ChartLegendPosition.Bottom))
    .Series(s => s
        // pie chart is too busy, let's try it as a bar chart
        // .Pie(m => m.Count, m => m.State).Padding(5).Labels(l => l.Visible(false).Template("#= category # - #= value #"))
        .Column(m => m.Count, m => m.State).Labels(l => l.Visible(false).Template("#= category # - #= value #"))
    )
    .DataSource(ds =>
    {
        ds.Read(r => r.Action("ClientsByState", "Clients").Type(HttpVerbs.Get));
    })
    .Tooltip(tp => tp.Visible(true).Template("#= category # - #= value #"))
)

 

It gives me a bar chart ok, but each column is black, and there are no labels.  (See attached image)

Could someone give me a few tips on how to best accomplish this?

Daniel
Telerik team
 answered on 04 Nov 2016
2 answers
1.4K+ views

Hi There,

I am newbie to Kendo. I am having issue with DropdownlistFor while binding to Viewbag selectlist. In the below code  ViewBag.AddressList has a disabled value and it is not binding as disabled item in dropdownlist.

Please see below Code

 ViewBag.AddressList = new SelectList(model, "CodeOrder", "CodeDisplay",

                                         selectedValue: model[0].CodeOrder.ToString(),

                                          disabledValues: model[0].CodeOrder.ToString());

@Html.Kendo().DropDownListFor(m => m.AddressType)

                        .BindTo((SelectList)ViewBag.AddressList)

                       .HtmlAttributes(new {  @id = "ddlAddressType" })

 

In the attached image , Address Type is considered as option label and has to be disabled as well as not allowing user to select it.

Best Regards,

Phani

Phani
Top achievements
Rank 1
 answered on 03 Nov 2016
3 answers
200 views

Hi Guys

I have been told the format of the dates at the top of the 'weekly' view is wrong by the customers in Sweden.. but I don't see anywhere in the culture file to amendit

Please see screen shot attached.. it should be .. "short day of week", then the day and then the Month.. not the "short day of week", Month and day.

How can I change this please?

Thanks

Rob

 

 

 

Ivan Danchev
Telerik team
 answered on 03 Nov 2016
4 answers
1.2K+ views
Hi everyone,

I'm using a Grid to ajax edit a simple model in the inline mode and on the Controller the ModelState.IsValid is always false.
The error message is "The value '/Date(-62135578800000)/' is not valid for Expiration."

I have attach the relevant code of my test application and would appreciate any help.


Thanks,
Alexandre Lefebvre
Marcel Härry
Top achievements
Rank 1
 answered on 01 Nov 2016
1 answer
134 views
How to create multiple sub columns in grid headers where the titles can be read from datasource? The number of parent header and sub columns depends on datasource.
Niko
Telerik team
 answered on 01 Nov 2016
1 answer
310 views

I have a nullable Guid column in my grid that is using an editor template to display a the text value associated with the Guid in the lookup table.

columns.ForeignKey(p => p.NotAcceptableReason, (System.Collections.IEnumerable)ViewBag.NotAcceptableReasons, "NotAcceptableReasonId", "NotAcceptableReasonName").Width(200);

 

The editor template:

@using Kendo.Mvc.UI
@model object
 
@(
 Html.Kendo().DropDownListFor(m => m)
        .BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"])
        .OptionLabel("--- Select ---")
        .ValuePrimitive(true)
)

 

On that column's column filter popup,I get all the text values from the lookup table in a drop down list and the filtering work as expected.

However, when I try to filter the column on "Is null" or "Is not null" I get an error -> System.FormatException: Unrecognized Guid format.

I suspect this is because there is no NULL entry in the lookup table I'm binding the drop down list to.  Any suggestions for getting the "Is null" or "Is not null" column filters to work correctly in this scenario?

 

Danail Vasilev
Telerik team
 answered on 01 Nov 2016
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
DateTimePicker
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
TimePicker
StockChart
RadialGauge
ContextMenu
ArcGauge
AICodingAssistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?