# bs:ModelDialog and content from view(.dothtml)

**URL:** <https://forum.dotvvm.com/t/bs-modeldialog-and-content-from-view-dothtml/318>\
**Category:** Discussion in English\
**Created:** [May 22, 2025, 3:49pm UTC](https://forum.dotvvm.com/t/bs-modeldialog-and-content-from-view-dothtml/318 "2025-05-22T15:49:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SampathkumarS](https://forum.dotvvm.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@SampathkumarS](https://forum.dotvvm.com/u/SampathkumarS)\
**Post date:** [May 22, 2025, 3:49pm UTC](https://forum.dotvvm.com/t/bs-modeldialog-and-content-from-view-dothtml/318/1 "2025-05-22T15:49:53Z")

</div>

Hi,

Is it possible to have a bs:modalDialog and dynamic content (.dothtml view).

Thanks  
Sampathkumar S

---

<div class="post-metadata">

**Author:** ![exyi](https://forum.dotvvm.com/user_avatar/forum.dotvvm.com/exyi/32/9_2.png) [@exyi](https://forum.dotvvm.com/u/exyi)\
**Post date:** [May 22, 2025, 10:33pm UTC](https://forum.dotvvm.com/t/bs-modeldialog-and-content-from-view-dothtml/318/2 "2025-05-22T22:33:00Z")

</div>

Hi! I’m sorry, but I probably don’t understand the question, could you please be more specific? Yes you can place bs:ModalDialog in a dothtml view and place other components into it which display some dynamic content.

---

<div class="post-metadata">

**Author:** ![SampathkumarS](https://forum.dotvvm.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@SampathkumarS](https://forum.dotvvm.com/u/SampathkumarS)\
**Post date:** [May 23, 2025, 5:40am UTC](https://forum.dotvvm.com/t/bs-modeldialog-and-content-from-view-dothtml/318/3 "2025-05-23T05:40:02Z")

</div>

In our existing [asp.net](http://asp.net) application, we are showing some pages as popup using window open method. So, we wish to show same, but here we need show using modal dialog.

---

<div class="post-metadata">

**Author:** ![exyi](https://forum.dotvvm.com/user_avatar/forum.dotvvm.com/exyi/32/9_2.png) [@exyi](https://forum.dotvvm.com/u/exyi)\
**Post date:** [May 26, 2025, 8:02am UTC](https://forum.dotvvm.com/t/bs-modeldialog-and-content-from-view-dothtml/318/4 "2025-05-26T08:02:03Z")

</div>

Ok, this looks like you want to use a markup control - a dothtml view which can be referenced from your modal dialog.

---

<div class="post-metadata">

**Author:** ![SampathkumarS](https://forum.dotvvm.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@SampathkumarS](https://forum.dotvvm.com/u/SampathkumarS)\
**Post date:** [June 23, 2025, 2:48pm UTC](https://forum.dotvvm.com/t/bs-modeldialog-and-content-from-view-dothtml/318/5 "2025-06-23T14:48:32Z")

</div>

Yes. all window.open pages in modal dialog.
