This is a migrated thread and some comments may be shown as answers.

Integration with Telerik ASP.Net AJAX Controls

6 Answers 392 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 10 Feb 2012, 08:28 PM
Is there any information or samples how to enable Kendo and ASP.NET AJAX Controls interoperate?   Until Kendo is as robust as the other controls you have, I need to somehow mix the two, but I am not sure what the best approach is for doing so.

Can someone offer some guidance?

6 Answers, 1 is accepted

Sort by
0
Vesselin Obreshkov
Top achievements
Rank 2
answered on 12 Feb 2012, 11:38 PM
There really isn't anything special you need to do other than include the required Kendo framework files (css and js) as you normally would. In my current project I now use the Kendo DataViz for my reports while the rest of the app was built using the Telerik MVC Extensions (started work before Kendo was announced or in Beta) and haven't run into any issues so far. You can mix and match controls as you like. I'm doing all new development using Kendo mostly. Switching legacy stuff from Telerik to using Kendo instead doesn't require much more than changing the UI code especially if you're using client binding with JSON. Most of your client event callbacks will probably work after quick find/replaces like $('#grid').data('tGrid') with $('#grid').data('kendoGrid').
0
Steven
Top achievements
Rank 1
answered on 13 Feb 2012, 05:59 PM
I guess I was more after what roles does each play?

More specifically:
Does KendoUI work well as a completely independent application layer, in that it does all of the ui work, communicates to the server for data via xml/json web services?

Or, do you find yourself having to build the html server side via C# and then KendoUI just operates on what was injected into the web page?

Secondly:
When you need to use controls that are not present within Kendo, but the majority of the page is Kendo based, do you load the non-kendo controls via Ajax?   Or do you build the ASP.NET controls along with the KendoUI code on the server and render the combined objects in the browser?

0
Vesselin Obreshkov
Top achievements
Rank 2
answered on 13 Feb 2012, 06:26 PM
Well Kendo UI is based on the Telerik MVC Extensions and eventually they will become one. They are already adding common features (and fixes) to both. For new development, I would go all Kendo - there is nothing the Telerik Extensions can do that Kendo cannot (probably the other way around).

As far as the RadControls for ASP.NET AJAX, they do have a few extra features and controls that Kendo does not yet have. In those cases, you can use your RadControls in addition to your Kendo UI controls. 

As far as binding goes, I use Ajax/Json for my data binding. I don't ever generate any html on the server, I just encode my view models into Json and let Kendo (or other controls) consume that. The RadControls for ASP.NET can also operate purely based on Json data so you really don't have to do anything different to use Kendo or RadControls. Just do Ajax/client binding for everything whether it is Kendo or RadControls.

Let me know if you have any other questions. I personally haven't used RadControls (or web forms) for a while (I use MVC) but the theory behind it all is the same.
0
Marcelo
Top achievements
Rank 1
answered on 29 Feb 2012, 10:46 PM

Hi Vesselin,

I have a big web application based all in asp.net ajax controls. I’ve never used MVC model so both Kendo and MVC are new for me.

In this scenario: Can I integrate Kendo new features in my asp.net ajaxfied application? Can you tell me where is any sample focused on this scenario?

Thanks in advance for your time.

Marcelo

0
Vesselin Obreshkov
Top achievements
Rank 2
answered on 29 Feb 2012, 10:56 PM
Kendo is a client JavaScript library so you can use it with nearly any type of application. There are no Server Controls (or Html Helpers as in MVC) so Kendo is completely platform agnostic. All you really have to do is include the CSS and JavaScript files and you're good to go. No need to put anything in Web.config, register handlers, modules or anything like that. 

As far as samples, their demos (which also serve as documentation) should get your started fairly quickly. Their documentation is pretty good and has pretty much everything you need to know. You don't have to know or use MVC or anything different than what you already are.

http://demos.kendoui.com/web/overview/index.html 

The blogs also have great articles that show you different scenarios.

http://www.kendoui.com/blogs.aspx 

Let me know if you have any other questions.




0
Naveen
Top achievements
Rank 1
answered on 07 Nov 2013, 10:18 AM
Hi Vesselin

Technically can any one explain , how Kendo UI and Rad controls are working in Background . Thanks
Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Answers by
Vesselin Obreshkov
Top achievements
Rank 2
Steven
Top achievements
Rank 1
Marcelo
Top achievements
Rank 1
Naveen
Top achievements
Rank 1
Share this question
or