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

Dialog Content as Component

1 Answer 99 Views
This is a migrated thread and some comments may be shown as answers.
Toby
Top achievements
Rank 1
Toby asked on 20 Mar 2018, 07:17 PM
Is it possible to render a dialog with a component as its content? If not, is it possible with a Window?

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 22 Mar 2018, 12:50 PM
Hello Toby,

You can place a Kendo DropDownList within a Kendo Window in the following way:
<kendo-window :width="'300px'"
        :title="'Window title'"
        :visible="visible"
        style="display:none">
    <p>DropDownList</p>
    <kendo-dropdownlist :data-source="dataSourceArray" :index="0">
    </kendo-dropdownlist>
</kendo-window>

Here you will find a Plunkr sample implementing the above. Note that both the Window and the DropDowns packages should be included.

Regards,
Veselin Tsvetanov
Progress 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
Asked by
Toby
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or