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

Dynamically Loading Content

1 Answer 227 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 13 Feb 2012, 06:21 PM
Coming from Silverlight, I am looking to create remote widgets (or components) that encapsulate all of their operation and look and feel into a single html/script file which can be loaded dynamically.   I would like to stay within the confines of HTML/JS/CSS rather than dipping into ASP.NET MVC.

The widgets need to be displayed within the div they are assigned to and automatically handle window/container re-sizing events, as well as pass context information from the controller to the component/widget.   (Think portal/dashboard).

Are there any examples which illustrate how to accomplish this?

Also, while looking at the Kendo source, I noticed that the components use kendo.ui.widget framework.   Should this be the mechanism that I use to create these components?   If so, are there any documents or examples which illustrate how to roll-your-own?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 15 Feb 2012, 04:33 PM
Hi Steven,

Unfortunately we do not have such examples at the moment. Probably the closest ones to what you're looking for are the load on-demand examples such as that one. We will provide more samples in the future, but at the moment Kendo team is focused on implementing new functionality, features and widgets.

Regarding your second question, kendo.ui.Widget is the base widget from which all other KendoUI components inherit. It is not intended to be used for custom components development, therefore I'm afraid that there is no available documentation.

Greetings,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or