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

Using "Window" in list items

1 Answer 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 13 May 2013, 07:23 PM
I was wondering if it were possible to use the "Window" UI widget for multiple list items.

For example, lets say I had a list of companies with reach having a link to "more details" and that more details linked opened a "Window" for each description. These company lists would be created dynamically so the number of listing will vary. 

<ul>
<li>
Company A
<span class="more_detail">More Details</span>
<div class="window">Company A is Great</div>
</li>
<li>
Company B
<span class="more_detail">More Details</span>
<div class="window">Company A is Great</div>
</li>
<li>
Company C
<span class="more_detail">More Details</span>
<div class="window">Company A is Great</div>
</li>
</ul>

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 May 2013, 10:24 AM
Hi Brandon,

Achieving the described behavior is possible. Please refer to the Window's demos and documentation for more information about how to create, open and destroy Window instances on the fly, as well as how to define static content or load it with Ajax.

http://demos.kendoui.com/web/window/index.html

http://docs.kendoui.com/getting-started/web/window/overview

http://docs.kendoui.com/api/web/window

Apart from creating a Window instance from an existing element on the page, you can also create it from a new element, which has just been appended to the DOM.

Regards,
Dimo
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
Brandon
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or