Разметка страницы:
<table style="display: none" id="myTable" runat="server">
<tr>
<td>First Name</td>
<td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>Last Name</td>
<td><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
</tr>
</table>
Мне нужно показать модальное окно, а содержимое должно быть невидимой таблицей. Сценарий ExtJS для создания окна выглядит так:
function showWindow() {
var win = new Ext.Window({
title: "Ext Window Example",
autoScroll: true,
modal: true,
html: //Here I want to use the markup of myTable
});
win.show();
}