asp.net 中怎样点一个按钮弹出一个网页?
解决方案 »
- .net 在wap开发中后台跳转(重定向)的问题
- DBAdapter.Fill(ResultsDataSet)语法错误,请高手指教
- Button按钮四个角能平滑些吗
- 在asp.net中如何保存变量值?
- 发现blogcn的一个未处理的异常 一起分析下它的漏洞 嘿嘿
- web用户控件里的 事件触发不了?
- 不懂啊~不懂~
- 163.com 的邮箱到了1。5G,大家觉得它需要用多大的硬盘才能够容纳这么多用户???
- 我装的是window2000操作系统,.net安装的是1.1可我在打开.net中的asp.net时出现"web服务不支持1.1aps.net"
- 求职,内附简历连接
- 请教:怎么查出数据库最后3条记录!
- 求助:如何读取datagrid中只读的绑定列的值?
弹出窗口:
this.Label.Text = "<a onclick=window.open('"+index.aspx?ContactNo="+a.ToString()+"','popuppage','width=400,height=380,top=130,left=200,scrollbars,resizable') style='CURSOR: hand'>"+e.Item.Cells[2].Text.ToString()+"</a>";2.
private void Button1_Click(object sender, System.EventArgs e)
{
this.Page.RegisterStartupScript("open","<script>window.open('WebForm1.aspx');</script>");
}
3.超链接打开
temp.Append(" <TD>");
temp.Append(" <A href='"+XframeSysInfo.SysRoot+"Go.aspx?ModuleID=CRMPSReport&ReportName=ProjectDetail&startdate="+this.uctrlSelectDate.BeginDate.ToShortDateString()+"&enddate"+this.uctrlSelectDate.EndDate.ToShortDateString()+"&area="+this.uctrlSelectArea.SelectAreas+"&month="+i.ToString()+"'>");
temp.Append(" </TD>");4.新窗口中打开
temp.Append(" <TD align=\"center\" class=\"TableContent\" border=1 style=\"border-collapse:collapse;border-color:#5BA7F0;\">"
+ "<a onclick=window.open('"+this.XframeSysInfo.SysRoot + this.XframeSysInfo.MainPage.Name+"?ModuleID=CRMPSReport&ReportName=ProjectDetail&startdate="+this.uctrlSelectDate.BeginDate.ToShortDateString()+"&enddate"+this.uctrlSelectDate.EndDate.ToShortDateString()+"&area="+this.uctrlSelectArea.SelectAreas+"&month="+i.ToString()+"','popuppage','width=800,height=600,top=60,left=100,scrollbars,resizable') style='CURSOR: hand'>"+i.ToString()+"</a>"+
"</TD>");