62,242
社区成员




<script language="javascript" type="text/javascript">
<!--
function showcatalog(obj)
{
var returnVal1 = false;
var wh_no = obj.getAttribute("wh") ;
var wh_no_coded = escape(wh_no);
returnVal1 = window.showModalDialog('WarehouseEdit.aspx?wh_no='+wh_no_coded+'&x='+Math.random() ,window, 'dialogwidth:700px;dialogheight:550px;help:0;center:yes;resizable:0;status:1;scroll:yes');
if(returnVal1 == true )
{
window.location.href = window.location.href;
window.location.reload;
}
}
-->
</script>
<asp:TemplateField HeaderText="编辑">
<HeaderStyle Width="40px" />
<ItemTemplate>
<asp:ImageButton ID="btnEdit" runat="server" ImageUrl="~/Images/cmsImages/btpaste.gif" wh=' <%# Eval("wh_no") %>'
OnClientClick="javascript:showcatalog(this);return false;" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>