问题一:
如何在.cs文件调用标签里面javascript:window.open()
我使用的是asp:DataGrid 一定记得,不要以为是asp:GridView啊!请你给出正确源代码否则请匆作答啊!谢谢合作啊!
<asp:TemplateColumn HeaderText="业务分配">
<ItemTemplate>
<img src="../css/images/modify.gif" style="cursor: hand" onclick="window.open('ywxx_fp.aspx?Entp_ID=<%# DataBinder.Eval(Container.DataItem,"Entp_ID")%>', 'win19','width=700,height=570 ,top=200,left=120,depended=1,resizable=1,alwaysRaised=1');">
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="充值">
<ItemTemplate>
<img src="../css/images/modify.gif" style="cursor: hand" onclick="window.open('entp_khcz.aspx?Entp_ID=<%# DataBinder.Eval(Container.DataItem,"Entp_ID")%>', 'win20','width=600,height=400 ,top=200,left=120,scrollbars=yes,depended=1,resizable=1,alwaysRaised=1');">
</ItemTemplate>
</asp:TemplateColumn>问题二. 如果长时间无操作(也就是超时)请你不要使用sesion.timeout,要使用其它方法解决超时,并给出源码,请不要随意写就算了,谢谢合作.
如何在.cs文件调用标签里面javascript:window.open()
我使用的是asp:DataGrid 一定记得,不要以为是asp:GridView啊!请你给出正确源代码否则请匆作答啊!谢谢合作啊!
<asp:TemplateColumn HeaderText="业务分配">
<ItemTemplate>
<img src="../css/images/modify.gif" style="cursor: hand" onclick="window.open('ywxx_fp.aspx?Entp_ID=<%# DataBinder.Eval(Container.DataItem,"Entp_ID")%>', 'win19','width=700,height=570 ,top=200,left=120,depended=1,resizable=1,alwaysRaised=1');">
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="充值">
<ItemTemplate>
<img src="../css/images/modify.gif" style="cursor: hand" onclick="window.open('entp_khcz.aspx?Entp_ID=<%# DataBinder.Eval(Container.DataItem,"Entp_ID")%>', 'win20','width=600,height=400 ,top=200,left=120,scrollbars=yes,depended=1,resizable=1,alwaysRaised=1');">
</ItemTemplate>
</asp:TemplateColumn>问题二. 如果长时间无操作(也就是超时)请你不要使用sesion.timeout,要使用其它方法解决超时,并给出源码,请不要随意写就算了,谢谢合作.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货