Telerik Forums
UI for ASP.NET MVC Forum
5 answers
502 views
Hi,

I'm trying Kendo UI for ASP.NET MVC on a MVC 4 project.
But I get an error at the end of your introduction (http://www.kendoui.com/documentation/asp-net-mvc/introduction.aspx)


When I put the 
@(Html.Kendo().DatePicker().Name("Birthday"))

My MVC project stop with this exception : System.EntryPointNotFoundException  


The wired thing is that with 
@(Html.Kendo().Calendar()
        .Name("calendar")
        .Min(new DateTime(2010, 1, 1, 10, 0, 0))
        .Max(new DateTime(2015, 1, 1, 20, 0, 0))
        .Value(DateTime.Now)
        )
I don't get any error!


Do you have any idea about this issue?
I'm missing something?

Thank you
Eric
Top achievements
Rank 1
 answered on 14 Jul 2012
0 answers
73 views

Also MVC C# to incorporate a new visual identity in an Orchard web site under Azure

CSurieux
Top achievements
Rank 2
 asked on 14 Jul 2012
4 answers
850 views
I have followed the introduction page on the documentation site to setup an MVC3 web application using Razor, but I cannot add a Kendo control to the view, the Kendo namespace does not appear in the "Html." intellisense.

Any ideas?

tried to look at the example source, as mentioned at the bottom of the introduction, but the folder Example has not been installed , was this an option during install, or was it not in the Beta release ?

UPDATE: Just tried a fresh MVC3 application and followed this again and it works. The first attempt was the creation of a telerik mvc3 web application with razor and implementing kendo algongside the telerik asp.net mvc extensions. this is the one that doesn't work. is their an order to the scriptregistrar before or after the kendo script links?

Thanks

Shaun
Dennis
Top achievements
Rank 1
 answered on 13 Jul 2012
1 answer
153 views
I read in the breaking changes that the ClientEvents has been switched to Events, however there is no way to setup a client side event handler for selection as there is no Select event in the grid Events object. Or am I missing something? How would I hookup a client-side event handler for the row being selected?

Thanks!
Joe
Top achievements
Rank 1
 answered on 13 Jul 2012
2 answers
228 views
Can you expand on the bundling options for the MVC wrappers? The way I'm interpreting things is that the MVC wrappers will only be available in Kendo UI Complete for ASP.NET MVC. I'm more interested in the Kendo UI Web package and having MVC integration. I don't have any current interest in DataViz or Mobile. Will the MVC wrappers be available if I just purchase the Kendo UI Web package?
Dan Miser
Top achievements
Rank 1
 answered on 13 Jul 2012
2 answers
205 views
How can i bind the grid to local data?
I have a kendo.observable viewmodel for my page and i want to bind the grid to that
Roland
Top achievements
Rank 1
 answered on 13 Jul 2012
1 answer
229 views
Hi, I am current replacing Telerik MVC extension with Kendo UI for MVC and having some issues with new Grid. I have a Grid as follow:

@{
    Html.Kendo().Grid(Model.Employees)
               .Name("EmployeeGrid")
               .Columns(columns =>
               {
                    columns.Bound(o => o.FirstName).Width(100).Title("First Name");
                     columns.Bound(o => o.LastName).Width(100).Title("Last Name");
                })
                 .Pageable()
                 .Render() ;               
}

I had an Error as Uncaught TypeError: undefined is not a function in kendo.web.min.js:8  and all control after this Grid stop working as well. Could you give me some ideas how to fix it? thanks
Gregory
Top achievements
Rank 1
 answered on 13 Jul 2012
4 answers
214 views
Hi!

I have been trying to drag and drop a grid row onto a treeview item. It works reasonably well, but I dont see how I can get the ID of the grid row the drag originates from. Hopefully you can! Attached is an example triggering an alert box where I want to get the ID.

Thanks in advance!
/Victor
Victor
Top achievements
Rank 1
 answered on 13 Jul 2012
0 answers
282 views
I want to enable the ViewDetails command button only if Type is 1 else disable upon grid load, here is the code that displays the data on the grid, but how to Enable/Disable it?

@( Html.Kendo().Grid<KendoUIMVC.Models.SIListing>()
            .Name("Grid")
            .Columns(columns =>
            {
                columns.Bound(p => p.Number).Width(75);
                columns.Bound(p => p.Type).Width(50);
                columns.Command(command => command.Custom("Accept").Click("AcceptDetails")).Width(60);
                columns.Command(command => command.Custom("View").Click("ViewDetails")).Width(60);
            })
            .Pageable()
            .Sortable()
            .Scrollable()
            .Filterable()
            .Groupable()
            .DataSource(dataSource => dataSource
            .Ajax()
                .Read(read => read.Action("getListing", "Listing"))
            )     
)

<script type="text/javascript">
    function ViewDetails(e) {

    }

    function AcceptDetails(e) {
    }

</script>


^^ can some one help?
Venky
Top achievements
Rank 1
 asked on 13 Jul 2012
1 answer
391 views
I am having problems implementing the site map binding. I have scoured your example and don't understand how yours is working and mine isn't. Here is the code:
@(Html.Kendo().Menu()
        .Name( "KendoMenu" )
        .BindTo( "WebSiteMap"))

And in my Home Controller index method:
if( !SiteMapManager.SiteMaps.ContainsKey( "WebSiteMap" ) )
{
    SiteMapManager.SiteMaps.Register<XmlSiteMap>( "WebSiteMap", sitemap => sitemap.LoadFrom( "~/Web.sitemap" ) );
}

However I still get this error:

"You must have a SiteMap defined with key "WebSiteMap" in ViewData dictionary." I'm pretty sure that is what my code is doing so I don't understand why I would be getting this error.

Any thoughts?

Thanks!


Joe
Top achievements
Rank 1
 answered on 12 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
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?