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

widget not shown in content template

1 Answer 57 Views
Window
This is a migrated thread and some comments may be shown as answers.
Henri-Dick
Top achievements
Rank 1
Henri-Dick asked on 09 Apr 2014, 12:00 PM
From a grid row I would like to open a kendoWindow that provides a form and is pre-filled with the dataitem from the selected row.
The window is using a kendoTemplate as its content and now I want to use various kendo widgets in the template like datepicker and numerictextbox etc.

My current solution can be found in this fiddle:
http://jsfiddle.net/somethingunique/W5tj2/

Can somebody help me out, why the numerictextbox is not shown in my solution? Or should I an event on the window or template to initialize the numerictextbox

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 09 Apr 2014, 01:02 PM
Hello Henri-Dick,

The provided implementation is missing a kendo.init() call.

http://docs.telerik.com/kendo-ui/getting-started/data-attribute-initialization

Also, please remove the k-textbox class from the NumericTextBox, as it is intended only for plain textboxes.

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Window
Asked by
Henri-Dick
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or