lornen
04-27-2008, 05:14 PM
Hi, I had used the DHTML Window widget and it really is good! But I had encountered the following problems:
1) DHTML Window Widget
2) http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3)
Specs
OS: Windows Server 2003 R2
IIS 7
ASP.NET 3.5
On the localhost, the popup windows works well for both IE and Firefox. However, when I deploy it in the www, the popup windows does not show its content on IE.
It works perfectly for the Firefox though.
The popup will appear, but its content is empty.
OnClientClick="hVis=dhtmlwindow.open('ajax', 'iframe', 'helpForm.aspx?id=0', 'Visibility List', 'width=450px,height=200px,resize=1,center=1'); return false"
The popup window is as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Help Page</title>
<style type="text/css">
.PopUpControlDiv
{
overflow:auto;
}
.PopupDataList
{
width: 100%;
background-color: #FFFF66;
}
.style3
{
width: 118px;
}
.style4
{
font-weight: bold;
}
.ptr
{
text-align:left;
vertical-align:top;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:DataList
ID="dl" runat="server" EnableViewState="false" CssClass="PopupDataList">
<ItemTemplate>
<table style="width:100%;" border="1" cellspacing="0" cellpadding="1">
<tr class="ptr" style="border-style:solid;">
<td class="style4" colspan="2"><%#((System.Data.DataRowView)Container.DataItem)[5]%></td>
</tr>
<tr class="ptr">
<td class="style3">Purpose</td>
<td><%#((System.Data.DataRowView)Container.DataItem)[1]%></td>
</tr>
<tr class="ptr">
<td class="style3">How to fill in</td>
<td><%#((System.Data.DataRowView)Container.DataItem)[2]%></td>
</tr>
<tr class="ptr">
<td class="style3">Examples Remarks<br />(if any)</td>
<td><%#((System.Data.DataRowView)Container.DataItem)[3]%></td>
</tr>
<tr>
<td class="style3">Keywords<br />(if any)</td>
<td><%#((System.Data.DataRowView)Container.DataItem)[4]%></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</form>
</body>
</html>
Any advice? Thanks very much in advance!
1) DHTML Window Widget
2) http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3)
Specs
OS: Windows Server 2003 R2
IIS 7
ASP.NET 3.5
On the localhost, the popup windows works well for both IE and Firefox. However, when I deploy it in the www, the popup windows does not show its content on IE.
It works perfectly for the Firefox though.
The popup will appear, but its content is empty.
OnClientClick="hVis=dhtmlwindow.open('ajax', 'iframe', 'helpForm.aspx?id=0', 'Visibility List', 'width=450px,height=200px,resize=1,center=1'); return false"
The popup window is as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Help Page</title>
<style type="text/css">
.PopUpControlDiv
{
overflow:auto;
}
.PopupDataList
{
width: 100%;
background-color: #FFFF66;
}
.style3
{
width: 118px;
}
.style4
{
font-weight: bold;
}
.ptr
{
text-align:left;
vertical-align:top;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:DataList
ID="dl" runat="server" EnableViewState="false" CssClass="PopupDataList">
<ItemTemplate>
<table style="width:100%;" border="1" cellspacing="0" cellpadding="1">
<tr class="ptr" style="border-style:solid;">
<td class="style4" colspan="2"><%#((System.Data.DataRowView)Container.DataItem)[5]%></td>
</tr>
<tr class="ptr">
<td class="style3">Purpose</td>
<td><%#((System.Data.DataRowView)Container.DataItem)[1]%></td>
</tr>
<tr class="ptr">
<td class="style3">How to fill in</td>
<td><%#((System.Data.DataRowView)Container.DataItem)[2]%></td>
</tr>
<tr class="ptr">
<td class="style3">Examples Remarks<br />(if any)</td>
<td><%#((System.Data.DataRowView)Container.DataItem)[3]%></td>
</tr>
<tr>
<td class="style3">Keywords<br />(if any)</td>
<td><%#((System.Data.DataRowView)Container.DataItem)[4]%></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</form>
</body>
</html>
Any advice? Thanks very much in advance!