你必須命名框架
<frameset>
<frame name="fra1" id=fra1/>
<frame name="fra2" id=fra2/>
</frameset>如果只是要跳轉頁面,不要提交到服務器,不智
可用datagrid 的databound事件
webcontrol.attribute["onclick"]="<script>parent.fra2.location.href='viewtop.aspx?id="+YouselfBindValue+"'</script>"
<frameset>
<frame name="fra1" id=fra1/>
<frame name="fra2" id=fra2/>
</frameset>如果只是要跳轉頁面,不要提交到服務器,不智
可用datagrid 的databound事件
webcontrol.attribute["onclick"]="<script>parent.fra2.location.href='viewtop.aspx?id="+YouselfBindValue+"'</script>"
解决方案 »
- C#截取字符串
- 关于asp.net c# 模拟登录 ?
- asp.net页面中传递与接收数组的问题??
- FrameSet框架下,repeater和aspnetpager一起使用的问题
- 如何把DataTable添加到dataset中?
- (水晶报表高手请进) Asp.net 部署问题
- 关于DataTable的问题
- 怪事!装了sp3后,我原来的asp文件访问access出现Microsoft JET Database Engine (0x80004005) ?
- XML超级初级问题
- 文本回车换行的显示问题,焦急等待散分中!
- windows 2003 server+VS.net 7.0 开发asp.net----已建好的网站的服务器控件突然失灵的问题!!
- 救救兄弟!!!!
少分号
webcontrol.attribute["onclick"]="<script>parent.fra2.location.href='viewtop.aspx?id="+YouselfBindValue+"'</script>"这样是错的
把webcontrol改成DataGrid1也不对…………