【发布时间】:2010-02-01 07:30:51
【问题描述】:
下面是我已经完成的示例代码,不幸的是弹出窗口的右上方没有最小和最大图标。它仅关闭图标,并且显示为最大屏幕尺寸。
<asp:ImageButton ID="ImageButton2" runat="server"
ImageUrl="images/icon_edit_moderator.gif"
OnClientClick="window.showModalDialog('search_staffM.aspx?id=document.forms[0].<%=Marketer_Staff_ID.clientID%>&id2=document.forms[0].<%=Marketer_Staffname.clientID%>','Search','width=550,height=170,left=150,top=200,scrollbars=1,toolbar=no,status=1')" /></td>
【问题讨论】:
-
try..>> &id2=document.forms[0].','Search','width=550,height=170,left=150,top =200,scrollbars=1,toolbar=no,resizable=yes, status=1')" />
-
两件事:1) 你应该使用 [这些说明][1] 来格式化你的 html 标记 2) 你应该问一个问题。现在,您只需说明问题的当前状态,然后让我们猜测您想要什么。 [1]:stackoverflow.com/editing-help
标签: asp.net image button properties