<input type="button" id="btnUpdateNotion" value="修改"
onclick="window.showModalDialog('Notion.aspx?
time=<%#DataBinder.Eval(Container.DataItem,"开始时间")%>',window);"></button>点击这个弹出新窗口
在新窗口里有个下拉列表(DropDownList)自动提交设为TRUE,当列表选项改变时,会自动新弹出Notion.aspx页面…………以前没遇到过的事,不知道如何解决?2005下开发的
onclick="window.showModalDialog('Notion.aspx?
time=<%#DataBinder.Eval(Container.DataItem,"开始时间")%>',window);"></button>点击这个弹出新窗口
在新窗口里有个下拉列表(DropDownList)自动提交设为TRUE,当列表选项改变时,会自动新弹出Notion.aspx页面…………以前没遇到过的事,不知道如何解决?2005下开发的
解决方案 »
- AspNetPager怎么用?
- 头疼死了,兄弟们,来帮帮我!关于css的小问题,在线急等
- 求高手,DATEPART(weekday, GETDATE() + @@DATEFIRST)返回什么值啊
- ASP。NET连接DB2 非常急的问题!!!!!!各位兄弟姐妹救急啊
- 上传一个网站到互联联网上,需要注意哪些方面阿?
- 如何让我的数据保持原有的格式
- 请问哪里有下asp.net的手册
- asp.net 1.0文件上传
- 大哥有这么做过得么????????
- 一个页面,多个按钮的分组验证问题
- datasource綁定數據源後,為什麼點擊點擊第一次正常,第二次就出錯了
- FreeTextBox1 怎么配置???第一次使用不知道
<base target=_self></base>
是在点“修改”按钮的时候弹出Notion.aspx?还是在DropDownList改变是弹出Notion.aspx
一楼说的对,在showModalDialog的模态窗体中必须加上<base target=_self></base>
才可以提交,否则就会弹出新的窗口了
--------------不管用
是在点“修改”按钮的时候弹出Notion.aspx?还是在DropDownList改变是弹出Notion.aspx
-------------------------
在点击Dropdownlist时会弹出新窗口。
protected void ddlYiJian_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
string[] recordInfo = lblRecordInfo.Text.Split(Radio.RadioParameters.Split.ToCharArray());
DateTime time = DateTime.Parse(recordInfo[0]);
string device = recordInfo[1];
string card = recordInfo[2];//更新下数据库 lblMsg.Text = "更新成功";
}
catch
{
lblMsg.Text = "更新失败";
}
}
}