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

Creating Kendo object server side

2 Answers 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Fabien
Top achievements
Rank 1
Fabien asked on 22 Jul 2013, 06:55 AM
Hi,

I'm writing HTML helpers that will render different kinds of objects based on the helper parameters.
As our application is Kendo based, my Html helper should render say a kendo datePicker or a Kendo Numericbox.

I can easily render HTML but the kendo object are Helper-generated too so I'm wondering what would be the best way to achieve my goal ?

2 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 23 Jul 2013, 02:21 PM
Hello Christophe,

I am not sure whether I understand your request properly, but based on your description you should probably try to inherit from existing Kendo UI MVC Html helper and apply conditional rendering for it based on your custom parameters.

Alternatively, if you prefer pure html and client-side development, consider creating your custom widget with conditional rendering following the guidelines from this help article and this blog post.

Regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Fabien
Top achievements
Rank 1
answered on 30 Jul 2013, 06:47 AM
I'm going to inherit from existing Kendo UI MVC Html helper as I'm working server side.
Thanks for your answer.
Tags
General Discussions
Asked by
Fabien
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Fabien
Top achievements
Rank 1
Share this question
or