To reproduce an issue a user recently posted related to Kendo grid, I thought it might be possible for me to use .NET Fiddle for it. But I am not able to load Kendo references. In my application I add a reference to Kendo.Mvc.dll.
I am wondering is there a way I can add a reference in .NET fiddle. .NET fiddle supports Nuget package however Kendo MVC wrapper does not come in a package.
My fiddle is: https://dotnetfiddle.net/vRAJfO
Just found that Kendo has got a tutorial that let you create charts and play around with it: http://dojo.telerik.com/. But it does not allow you to write ASP.NET MVC style code like .NET Fiddle does.
FYI - I have added a support ticket with telerik for this. Support ID:922106
Will update as soon as I hear back from them.
This is the reply I received from Telerik:
The Kendo UI MVC assembly cannot be publicly accessible, that's why there is no public NuGet package which you can use to reference this assembly in tools such as .NET Fiddle.
The Kendo UI Dojo can be used to create examples with the vanilla HTML/Javascript Kendo UI widgets. There is no way to create fiddles featuring the Kendo UI ASP.NET MVC wrappers. If you need to provide examples and code, please send projects as attachments.
Dojo is designed to be an HTML/JS playground and the code is executed client-side. We currently do not provide a playground, which is able to execute server-side code.
Related
Does anybody know how to build a dynamic vaadin grid like here:
https://cdn.vaadin.com/vaadin-grid/2.0.0-alpha3/demo/data.html#dynamic-height
It is strange because I have never seen that vaadin allow to write code as it is in the link above. Where to put this template? Is it possible that in a standard vaadin code?
This is the demo page for Vaadin Grid Element, not the Grid from Vaadin Framework.
Grid element is a part of so-called Vaadin Elements - set of client-side widgets which can be used from other javascript frameworks (e.g. React, Angular, etc.).
Vaadin released Elements separately from their Framework, so in order to use them from a traditional Vaadin application, you'll need to take additional steps. See this blog post for the detailed walkthrough: Using Vaadin Elements with Vaadin Framework.
You also might want to look through this similar question: Is Vaadin Elements meant to be used with the Vaadin Framework?.
I found a sample project that are built on Telerik Extensions for ASP.NET MVC + MVC3. I tried to download Is Telerik Extensions, but could not find it at anywhere. It seems it is for MVC3, after that, it is Kendo UI MVC for MVC4+. So, Is Telerik Extensions for ASP.NET MVC replaced by Keno UI for MVC?
If yes, does it mean we can always rewrite this sample project using Kendo UI MVC? But it seems some do not exist in Kendo anymore, i.e. GridModel, TreeViewItem, ... is there a document to explain this?
Thanks
You cannot direct download the Telerik Extensions for ASP.NET MVC + MVC3. You need to get them via NuGet.
For that,
Fist, open NuGet package manager console in visual studio.
Type the following in console.
Install-Package TelerikMvcExtensions.
Then you will get all Telerik extensions.
After installing the latest Telerik UI for ASP.NET MVC, and choosing File - New Project - Templates - Telerik - Web, should I see a Kendo UI template project? (I am watching the Telerik "The Basics of UI for ASP.NET MVC" video and it shows one there). I am using VS 2013 and Windows 7.
I received a reply from Telerik Tech. Support in one of their forums. It appears that the project templates just have been renamed to new names. I chose "Telerik VB MVC Web Application" instead of "VB Kendo UI for MVC Web Application" (the project template name used in the video) and all of the functionality from the video appears to be there (copying the Kendo UI files into the project, adding CSS and JS lines into the Layout file, giving Kendo UI intellisense, etc.).
I've installed ASP.NET MVC3 and the Tools Update, but don't see any MVC3 controls in the Toolbox.
If they are supposed to be there, how do I add them?
If not, why not?
MVC does not have any server controls that come with Visual Studio. It is a completely different paradigm from ASP.NET Forms type development where you use standard HTML controls and control behavior with JavaScript/JQuery. You can extend them with third party controls which are usually in the form of JavaScript libraries. A good one to start with is JQuery UI which is open source and included in the template project that is created for MVC 3.
No. MVC doesn't have server controls. A great place to start is ASP.NET MVC Overview.
My first experience with ASP.NET MVC and the Entity Framework has raised my interest in this framework and I would like to implement some basic applications, covering the basic requirements of real-world web applications. So far the support given by VS 2008 is already impressive.
For some areas however, it might be a time saver to use existing add-ons or libraries of all kind. Are there already commercial or open solutions which I should take a look at?
Some of them:
S#arp architecture
MVCContrib
MVC Project Awesome
Be sure to check out example projects.
Telerik has made some UI stuff too (haven't checked out yet).
You might be interested to check out other view engines like:
Spark (this one kicks a$$)
NHaml
Haack recently posted about .less - might be worth checking out for managing css
T4MVC by David Ebbo library is a nice solution how to make your asp.net mvc app more strongly typed.
For UI testing - Watin framework.
Here's Jimmy talking about implementation and solution of common problems when doing UI testing. Seems to me that he prefers Gallio + NBehave + MbUnit combo but i personally like BehaveN (it doesn't need test runner, is not tied with particular unit test framework).
HtmlAgilityPack is a nice tool if working with raw html is necessary.
MvcTurbine might simplify technical part of your asp.net-mvc project.
Found useful MvcExtensions extension made by Kazi Manzur Rashid.
For managing javascript and css - Chirpy.
Object to object mapper for MVVM support - AutoMapper.
elmah is great for error logging.
Not necessarily MVC specific, but:
MVC lends itself to take advantage of all the jQuery UI controls and pretty things.
There's also Elmah, and StructureMap for DI/IOC.
Nothing much else to add here except that xVal is a really nice validation library, utilising jQuery. My company is currently in the process of moving from a 'roll-your-own' solution to this.
There are some useful links at the bottom of this post.
Including:
MVC HtmlHelper for Gravatar
Paging HtmlHelper for ASP.NET MVC
Marquee and GridView HtmlHelpers for ASP.NET MVC
ReCAPTCHA HtmlHelper (and also a solution to use ReCAPTCHA in ASP.NET MVC)
ASP.Net MVC Extension method to create a Security Aware Html.ActionLink
CheckboxList Helper
Also, keep an eye on some of the big component developers. Telerik has a demo of some MVC components and I hear DeveloperExpress has some on the way too.
Just to add details to Telerik's MVC support:
We just kicked-off our official support for ASP.NET MVC with last week's CTP. Our new UI Extensions for MVC will aim to bring the productivity of WebForms to MVC without violating any MVC concepts. Our new extensions are built from the ground-up specifically for MVC and they will leverage jQuery on the client for all behaviors and Ajax.
Further, the Extensions are completely open source, licensed under the Microsoft Public License (MS-PL) - the same license that the ASP.NET MVC framework ships under. You can find the CTP source today on Telerik.com or on CodePlex:
http://telerikaspnetmvc.codeplex.com/
All of that said, this is our early support. We will ship the first 3 UI Extensions in November and build from there in 2010. The first planned Extensions are:
Grid
Menu
TabStrip
You can find more details, demos, and downloads on Telerik.com:
www.telerik.com/mvc
Hope that helps.