html控件不让页面刷新 <input type="image" ID="ImageButton2" src="images/index_r35_c7.jpg" onclick="javascript:window.open ('1.aspx')" />在.html页面中父窗体不刷新但是在.aspx页面中会刷新这要怎么解决 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %><!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>无标题页</title></head><body> <form id="form1" runat="server"> <div> <input type="image" ID="ImageButton2" src="images/111.jpg" onclick="javascript:window.open ('Look_TouPiao.aspx','height=100,width=400')" /> </div> </form></body></html>会刷新页面 我要单击按钮不刷新页面 <input type="image" ID="ImageButton2" src="images/index_r35_c7.jpg" onclick="javascript:window.open ('1.aspx')" />如果不是服务器控件 不会自动回发 当然没的刷新. <a><img src="" onclick="javascript:window.open ('1.aspx')" /></a> 楼主这么写 <input type="image" ID="ImageButton2" src="images/index_r35_c7.jpg" onclick="javascript:window.open ('1.aspx')" />如果不是服务器控件 不会自动回发 当然没的刷新.可是他会刷新这是为什么 <input type="image" ID="ImageButton2" src="images/index_r35_c7.jpg" onclick="javascript:window.open ('1.aspx')" />html控件<input type="image">有submit功能~,想点击它不提交的话onclick="window.open ('1.aspx');return false;" 问个界面刷新的问题 字符串不固定的情况下如何放到集合里 [老问题]Seesion问题! 数据绑定输出简单问题.. 关于DataGrid嵌套repeater的问题急!!!! C1WebTopicBar使用方法? datagrid模板列的问题 孟子E章请进!!!!! asp.NET的问题 提高编码质量,请使用refactoring 关于asp.net 的一点小经验 不知道你们发现没有 asp.net分页问题
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="image" ID="ImageButton2" src="images/111.jpg" onclick="javascript:window.open ('Look_TouPiao.aspx','height=100,width=400')" />
</div>
</form>
</body>
</html>会刷新页面 我要单击按钮不刷新页面
如果不是服务器控件 不会自动回发 当然没的刷新.
楼主这么写
如果不是服务器控件 不会自动回发 当然没的刷新.可是他会刷新这是为什么
onclick="window.open ('1.aspx');return false;"