Telerik Forums
UI for ASP.NET MVC Forum
1 answer
264 views
Hello team;

Let's we want to build an application using Kendo UI MVC platform. This app needs to run om desktop and mobile.

My question is, what's to have the same desktop MVC controls for the Mobile counterpart, so we can use similar logic and controls, but different views for the devices.

Thanks!
..Ben
Sebastian
Telerik team
 answered on 26 Jun 2012
0 answers
179 views
Is there any way to format the pie chart legend items?  Meaning, instead of just listing the categories (e.g. Cars, Boats, Planes), is there a way to add additional data such as the value assoicated with each (e.g. 3 Cars, 5 Boats, 8 Planes).  I looked through the documentation but couldn't find a way.  However, it appears to be possible in your RadChart product via "LegendDisplayMode", so I'm hoping there's a way to do it in the Kendo version.  It seems like a very good feature to have.
Don
Top achievements
Rank 1
 asked on 26 Jun 2012
3 answers
449 views
Hi,
I have a tabstrip with two tabs and want to include a Kendo chart in the first tab. I can't work out whether it's possible to do this using the Kendo MVC helpers? If it is possible, does anybody have any example Razor code that explains how it can be done.

Thanks, IP
Ian
Top achievements
Rank 1
 answered on 25 Jun 2012
0 answers
106 views
Hi,

We have been evaluating Kendo UI for Asp MVC (as a replacement for Telerik ASP MVC components) for a while and it certainly looks promising! The main question here is basically: when will a RC/RTM be available and is there a list of what will be supported/will have changed from the current beta?

Specifically we are using the the Grid component heavily and would really like to see some missing features.
* Toolbar templates (like http://demos.kendoui.com/web/grid/toolbar-template.html, in the end we would like to integrate it with a autocomplete/multi-column filter, will that be possible?)
* Multiple nested details templates. We ran into problems, but read in another thread that the functionality will be completely changed, so we stopped trying here. Will it be possible to ajax-load a full template from an action?
* Show/hide columns (context menu in Telerik ASP MVC)
* Binding to null values (as per uservoice request http://kendo.uservoice.com/forums/127393-kendo-ui-feedback/suggestions/2949884-fix-grid-binding-to-null-values) - REALLY important to be able to replace Telerik ASP MVC
* A new, user-friendly multisort (as per uservoice request here http://kendo.uservoice.com/forums/127393-kendo-ui-feedback/suggestions/2949890-fix-a-new-grid-multi-sort)

Also, the list component looks like a really nice addition, hopefully one that will be server-wrapped?

Finally, we hope globalization will be implemented in full and hope for some fully-fledged examples!


All in all though, Kendo UI looks real promising!

Kind regards
Victor Ström
Victor
Top achievements
Rank 1
 asked on 25 Jun 2012
0 answers
183 views
when adding a grid through the html helper and setting the datasource as noted in the documentation:

.DataSource(dataSource => dataSource
           
.Ajax() // Specify that the data source is of ajax type
           
.Read(read => read.Action("Products_Read", "Home")) // Specify the action method and controller name
       
)

there is no way to specify the html verb for the ajax call.  by default it seems to be a post, rather than a read, so if I use a rest based service, I get a failure, as it is trying to insert a record instead of retrieve a list of them.  is there a way to specify a Get?  (actually, shouldn't the grid ajax default to a get?  it seems to when I declare the grid using jquery, but not through the html helpers.)
Gareth
Top achievements
Rank 1
 asked on 25 Jun 2012
0 answers
172 views
I would have liked to have added this as a comment to hermann's thread but you don't appear to cater for that.
I would like to second everything that hermann said.
I used to have a Telerik subscription but I let it lapse because your documention was so unbelievably bad that I found it quicker to write things myself.
I have been waiting to see if the documention for KendoUI gets any better before I consider renewing my subscription but although it seems to have got a little better, you obviously still consider it to be a bore and only something to addressed months or even years afterwards.
I have tried for many hours to fight my way through what you laughably call Getting Started with Kendo UI for ASP.NET MVC as well as other parts of your documentation but am still unable to get ANYTHING to work.
Could you please listen to what hermann has to say and make an effort to help him ( and myself) get as far as first base.
Thankyou.
Meerkat
Top achievements
Rank 1
 asked on 24 Jun 2012
0 answers
209 views
I've been using the Telerik MVC extensions and want to be able to use an Autocomplete (but with the user able to enter something not in the dropdown list if he/she wants to) in a Create view.

Can I do this using the MVC extensions? If not can I do it using the Kendo UI MVC beta controls?

At the moment I have code like this in my view, but this doesn't allow the user to enter a value which is not in the dropdown list:

  <div class="editor-label">
            @Html.Label(model => model.PremiumPaymentFrequency)
        </div>
     <div class="editor-field">
            @Html.DropDownList("PremiumPaymentFrequency", String.Empty)
            @Html.ValidationMessageFor(model => model.PremiumPaymentFrequency)
        </div> 

The reason I ask for how to do this both using the Rad MVC extensions and the Kendo UI MVC controls is that although I want to start using Kendo UI MVC in new code, I would also like to know how to do it using the Rad MVC Telerik extensions in case I need to.
I need to be able to obtain the value entered by the user in the code.  With the RadMBC extensions, this is simply model.PremiumPaymentFrequency (which I can use in the controller code on the server), but how do I obtain the value entered by the user if a Kendo UI MVC control is used? (Is the value then only usable on the client, or can I use it in the server's controller code, and if so, how?).

Apologies if some of this seems basic, but I am obviously new to using the Kendo controls, particularly with MVC.

Thanks 
Patrick
Top achievements
Rank 2
 asked on 21 Jun 2012
3 answers
431 views
How do we go about selecting the value of a server-bound DropDownListFor() in an edit form? Example:

@(Html.Kendo().DropDownListFor(m => m.Country)
		.BindTo(ViewBag.Countries)
		.DataValueField("CountryCode")
		.DataTextField("CountryName")
		.OptionLabel("Select Country"))

ViewBag.Countries contains a List<Country>. Country object has a CountryCode and CountryName (strings). The model I'm passing in has a Country field that holds the exact value that's bound to DataValueField("CountryCode"). Nothing gets pre-selected when I open the form (but the list of countries is there). The SelectedIndex() property is useless to me in this instance. Digging through the DropDownListBuilder class the only thing I saw was a Value() method that I'm not sure what it does but giving it the value I want selected doesn't do anything either.

I can't give BindTo() a SelectList() like I used to with the Telerik extensions (unless I'm doing something wrong).

Thanks for any help
Georgi Krustev
Telerik team
 answered on 21 Jun 2012
1 answer
448 views
I managed to get a dropdown in a grid column. But I have no clue on how to set the selected value, and when I save it doesn't save my selected value.

The grid

@using Perseus.Areas.Communication.Models
@using Perseus.Common.BusinessEntities;


<div class="gridWrapper">
    @(Html.Kendo().Grid<CommunicationModel>()
        .Name("grid")
        .Columns(colums =>
        {
            colums.Bound(o => o.communication_type_id)
                .EditorTemplateName("_communicationDropDown")
                .ClientTemplate("#: communication_type #")
                .Title("Type")
                .Width(180);
            colums.Bound(o => o.sequence).Width(180);
            colums.Bound(o => o.remarks);
            colums.Command(command => command.Edit()).Width(50);
        })
        .Pageable()
        .Sortable()
        .Filterable()
        .Groupable()
        .Editable(edit => edit.Mode(GridEditMode.InLine))
        .DataSource(dataSource => dataSource
            .Ajax()
            .ServerOperation(false)
            .Model(model => model.Id(o => o.communication_id))
                .Read(read => read.Action("AjaxBinding", "Communication", new { id = @ViewBag.addressId }))
                .Update(update => update.Action("Update", "Communication"))
            .Sort(sort => { sort.Add(o => o.sequence).Ascending(); })
            .PageSize(20)
        )
    )
</div>


The EditorTemplate "_communicationDropDown

@model Perseus.Areas.Communication.Models.CommunicationModel


@(Html.Kendo().DropDownListFor(c => c.communication_type_id)
        .Name("DropDownListCommunication")
            .DataTextField("description1")
            .DataValueField("communication_type_id")
            .BindTo(ViewBag.CommunicationTypes))

Pechka
Top achievements
Rank 1
 answered on 21 Jun 2012
0 answers
116 views
Can you point me to the link for the kendoui mvc q2 beta release?  
Thanks
Congero
Top achievements
Rank 1
 asked on 21 Jun 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
ComboBox
Upload
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
Accessibility
ListView (Mobile)
Pager
ColorPicker
DateRangePicker
Security
Wizard
Styling
Chat
DateInput
MediaPlayer
TileLayout
Drawer
SplitView
Template
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Licensing
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?