Telerik Forums
UI for ASP.NET MVC Forum
0 answers
169 views
Hi all,

I may be a beginner for ASP.NET MVC developer, but I created the new MVC4 RC project, and it allow to develop the mobile application with jQuery mobile layout as default. Are there any ASP.NET MVC examples for Kendo UI Mobile? For MVC examples, I see only Kendo UI web and dataviz on Q2 Beta demo. 

Are there any ways or examples to develop ASP.NET MVC mobile application using Kendo UI Mobile? Moreover, if there are the way to develop ASP.NET MVC mobile application, how to build the MVC project for the mobile device?

Thank you :))
Kirati
Top achievements
Rank 1
 asked on 10 Jul 2012
2 answers
271 views
Hi,

MVC controls helpers generated html, then on the end with ScriptRegistrar applied javascript to those elements. Now you are rendering script just after the element, so if I have 100 controls on page, 100 script "oneliners" would appear in generated html(both examples below).

Question is why change helpers behaviour(except initializanig control properties through jquery)? 

old way:

    <div class="t-widget t-dropdown t-header" style="width:100%;" tabindex="0"><div class="t-dropdown-wrap t-state-default"><span class="t-input">Value</span><span class="t-select"><span class="t-icon t-arrow-down">select</span></span></div><input id="someField" name="someField" style="display:none" type="text" value="0"></div>
//scripts are applied on the end with ScriptRegistrar, so clean html, no matter how much controls



new way

<span style="" class="k-widget k-combobox k-header"><span unselectable="on" class="k-dropdown-wrap k-state-default"><input class="k-input" type="text" autocomplete="off" tabindex="0" style="width: 100%; "><span unselectable="on" class="k-select"><span unselectable="on" class="k-icon k-arrow-down">select</span></span></span><input id="someField" name="someField" data-role="combobox" style="display: none; "></span><br><br><script><br><span class="Apple-tab-span" style="white-space:pre"> </span>

//this part bothers me, with each control I get this in html
<script>jQuery(function(){jQuery("\#someField").kendoComboBox({});});
</script>
Matt
Top achievements
Rank 1
 answered on 10 Jul 2012
3 answers
438 views
I am trying to dynamically add a tab using the append method, but I cant get any of the imageHtmlAttributes to get inserted into the html.
Here is my code:

tabStrip.append(
    [{
        text: tabText,
        content: "<iframe style=\"width:100%\" src=\"" + url + "\"></iframe> ",
        imageUrl: "/Images/dialog_close_button.png",
        imageHtmlAttributes: { "onclick": "closeTab($(this).closest(\"li\"));" },
        collapsible: true
    }]
);

However the onclick is never added.
Daniel
Telerik team
 answered on 09 Jul 2012
0 answers
128 views
Please disregard this thread as I have created another one:
http://www.kendoui.com/forums/mvc/grid/grid-with-nested-objects-datasource.aspx 
Yann
Top achievements
Rank 1
 asked on 09 Jul 2012
5 answers
377 views
We are currently having problems achieving the same functionality we have in MVC Extensions.

1. In MVC Extensions we have a modified combobox helper below which allows us to set the initial value & text in a 'load on demand' combobox.  As part of the helper we also modify the name to change "-input" to "_input" so both the posted value and text can be bound to properties in our view model (ie int abc and string abc_input).  

Can you advise how to best achieve this using Kendo MVC combobox as we have been unable to convert the logic below.

            return helper.Telerik().ComboBox()
                         .Name(name)
                         .InputHtmlAttributes(new
                         {
                             id = name + "_input",
                             name = name + "_input",
                             value = text
                         })
                         .Value(value != null ? value.ToString() : string.Empty);

2. Perhaps related to my issue above but when I select an item from a kendo combobox and post the the results the combobox selection is not maintained when the view is redrawn... in fact the firebug shows only the combobox selected data value is posted

    @using (Ajax.BeginForm("Index", "Home", new AjaxOptions { HttpMethod = "POST" }))
    {
        @(Html.Kendo().ComboBox()
                .Name("TestComboID")
                .AutoBind(false)
                .DataTextField("Text")
                .DataValueField("ID")
                .Filter("contains")
                .DataSource(source =>
                {
                    source.Read(read =>
                    {
                        read. Action("GetProducts", "Home")
                    })
                    .ServerFiltering(true);
                })
        )
   
3. Server Filter

Currently to implement combobox server filtering in MVC extension is quick and easy.  The way it has been implemented in Kendo MVC examples requiring .Data to be manually set in the DataSource is clumsy and inefficient given the amount of code required.. If you only have a few combobox's it wouldn't be an issue but we have over 100... Is there any way to improve this so the value is automatically passed when server filtering is on?

Thanks in advance,
Danny
Georgi Krustev
Telerik team
 answered on 09 Jul 2012
3 answers
146 views
Hi,

The bottom border of my window is not showing in IE8 even though there is plenty of space.  Is this a known issue?  I am using the default theme.

Thank you,
Donna
Dimo
Telerik team
 answered on 09 Jul 2012
3 answers
1.1K+ views
I currently use the Telerik ASP.Net MVC 3 extensions.

What is the difference between Kendo UI Complete for ASP.NET MVC and Kendo UI Web?

Do they both support Entity Framework, Linq to Entities, and Data Annotations for the Models?

In addition, does Kendo UI Mobile support Entity Framework?

Basically, can you bind the UI Widgets to entities? All I see in th examples is datasource binding to manual entries or some service that serves up data. What about data coming back from a SQL Server database using LINQ and binding it to the widgets?

Also, in return, to update the database from the widgets....

Which product (Kendo UI Complete for ASP.NET MVC and Kendo UI Web) is best to use in what kind of scenario?

If so to any of the above questions, where can I find examples? 
Atanas Korchev
Telerik team
 answered on 09 Jul 2012
17 answers
808 views
Hi,
We just realized that the grid component does some kind of reordering even when no sort order is defined. It sorts the same way everytime, but I cannot see any real pattern to what it sorts on.

We do the sorting server-side and breaking inside the razor view and expanding the list sent to the grid (iqueryable with direct connection to Entity Framework) shows the expected sort order. However, when the grid component has processed it the sort order has changed.

Hopefully this can be fixed soon!

/Victor
Daniel
Telerik team
 answered on 06 Jul 2012
2 answers
295 views
Hi there,

I noticed an issue with the checkbox column for the batch-edit grid.  On the sample project that comes with the Kendo UI MVC Beta, if you navigate to the Batch Editing sample, you can see that the Discontinued column can't be changed from True to False (It works fine when changing from False to True).  In other words, after unchecking the checkbox and getting out of the the edit cell, it still shows up as "True" and has no dirty flag indicator.  Is this a known issue?  Please let me know if I'm missing anything.

Thanks,

Ben
Shawn
Top achievements
Rank 2
 answered on 05 Jul 2012
4 answers
343 views
When using EditorFor any data annotations applied to the ViewModel such as Required, StringLength, etc are not added to the wrapped TextArea as data attributes, therefore no client validation is applied.
Matt
Top achievements
Rank 1
 answered on 05 Jul 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
Dialog
MultiColumnComboBox
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
Security
ColorPicker
DateRangePicker
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
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?