Kendo UI for jQuery
Overview
Frameworks
jQuery
Angular
React
Vue
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
Kendo UI for jQuery
This is a migrated thread and some comments may be shown as answers.
Add views to body at runtime
1 Answer
38 Views
Application
This is a migrated thread and some comments may be shown as answers.
Sergio
Top achievements
Rank 1
Sergio
asked on
24 Oct 2012,
08:42 AM
Hi, I need to add views at runtime in the body and then do a navigate.
I append a new view to body at runtime:
<div data-role="view" data-layout="layout" data-title="view2" id="view2">
Is it possible to programmatically add new views and is recognized by kendo.mobile.Application?
Thanks!
Add a comment
Submit comment
Cancel
1 Answer
, 1 is accepted
Sort by
Score
Date
0
Dner
Top achievements
Rank 1
answered on
02 Nov 2012,
07:09 AM
Hi!
I had the same problem.
Look at http://docs.kendoui.com/getting-started/data-attribute-initialization, you have to insert something like
<script>
kendo
.
init
(
$
(
"#view2"
));
</script>
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
Application
Asked by
Sergio
Top achievements
Rank 1
Answers by
Dner
Top achievements
Rank 1
Share this question
or
Copy link