悲剧了,书上说安装Ajax控件的方法, Program Files\Micrsoft ASP.NET\System.Web.Extensions.Design……下, 但我找了C、D盘下的Program Files,都没有Micrsoft ASP.NET这个文件夹,我这儿一直能做网站,而且是ASP.NET的,不可能没有啊
用CSS+DIV 和javascript 可以实现!
js pop layer, you shoule use the two div to finish it .please search the "js layer" in the web. you will find some infos. look this link:http://www.cnblogs.com/bluewind2879/archive/2010/05/07/1729567.html
or you should look this link: use JS: http://www.cnblogs.com/tzp_8/archive/2010/07/25/1784517.html
像你这种是用弹出层模拟的对话框 百度下一大堆的
js弹出层就行了 具体搜下吧 有很多源码的
去百度或谷歌搜索一下,很多的
TargetControlID="LinkButton1"
PopupControlID="Panel1"
BackgroundCssClass="modalBackground"
DropShadow="true"
OkControlID="OkButton"
OnOkScript="onOk()"
CancelControlID="CancelButton"
PopupDragHandleControlID="Panel3" />
这个能看懂吧!
Program Files\Micrsoft ASP.NET\System.Web.Extensions.Design……下,
但我找了C、D盘下的Program Files,都没有Micrsoft ASP.NET这个文件夹,我这儿一直能做网站,而且是ASP.NET的,不可能没有啊
look this link:http://www.cnblogs.com/bluewind2879/archive/2010/05/07/1729567.html
use JS:
http://www.cnblogs.com/tzp_8/archive/2010/07/25/1784517.html
http://www.cnblogs.com/tzp_8/archive/2010/07/25/1784517.html
这个完整例子,点了无效果
window.showModalDialog("ShowDialog.htm","" , "dialogWidth:230px; dialogHeight:120px;center:yes;help:no;resizable:yes;scroll:no;status:no")
你去百度搜索下:tipswindown
大把的例子和下载!非常简单