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

UserControls (like ASP.NET usercontrols or similar)

2 Answers 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jacob
Top achievements
Rank 1
Jacob asked on 17 Aug 2015, 02:03 PM

Hi Kendo,

 

Building user-controls - or controls that may be added on many pages throughout a website - how is this done with Kendo?

I can think of - at least - 3 different types of usercontrols:

  1. A simple control like the DateTimePicker
  2. A stand-alone control with a model and a control
  3. A ClientDetailTemplateId (found in Html.Kendo().Grid)

Is it possible to build those 3 types of controls so they may be re-used in more than one page ?

Thank you.

2 Answers, 1 is accepted

Sort by
0
Jacob
Top achievements
Rank 1
answered on 17 Aug 2015, 02:09 PM

I forgot to say, that I'm using .Net 4.5.1 and MVC5.

Thanks.

0
Accepted
Hristo Valyavicharski
Telerik team
answered on 18 Aug 2015, 12:39 PM
Hi Jacob,

Try to use Partial Views. They are similar to the ASP.NET User Controls.

Regards,
Hristo Valyavicharski
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Jacob
Top achievements
Rank 1
Answers by
Jacob
Top achievements
Rank 1
Hristo Valyavicharski
Telerik team
Share this question
or