aspxpopupcontrol学习日记--弹出窗口
2008-05-29 17:11
351 查看
这上面也有点郁闷,弹出方式总是弹到左上角.组长让这个页面显示在中间,无奈.搞定,感觉还不错.
解决方案
JS
function OnMoreInfoClick(obj,text1,text2) {
if(text1!='关别')
{
Popup.ShowAtElement(obj);
Popup.SetContentUrl('Query.aspx?id='+text1+'&type='+text2);
}
}
ASPX
<table id="popups" style="width: 100%" >
<tr>
<td></td>
</tr>
</table>
<dxpc:aspxpopupcontrol id="Popup" ClientInstanceName="Popup" runat="server"
EnableClientSideAPI="True" AllowDragging="True"
PopupHorizontalAlign="Center" HeaderText="查询结果页面" Width="300px"
Height="320px" ForeColor="Silver" PopupAction="LeftMouseClick" PopupElementID="popups" EnableHierarchyRecreation="True">
<Border BorderWidth="0px" />
</dxpc:aspxpopupcontrol>
解决方案
JS
function OnMoreInfoClick(obj,text1,text2) {
if(text1!='关别')
{
Popup.ShowAtElement(obj);
Popup.SetContentUrl('Query.aspx?id='+text1+'&type='+text2);
}
}
ASPX
<table id="popups" style="width: 100%" >
<tr>
<td></td>
</tr>
</table>
<dxpc:aspxpopupcontrol id="Popup" ClientInstanceName="Popup" runat="server"
EnableClientSideAPI="True" AllowDragging="True"
PopupHorizontalAlign="Center" HeaderText="查询结果页面" Width="300px"
Height="320px" ForeColor="Silver" PopupAction="LeftMouseClick" PopupElementID="popups" EnableHierarchyRecreation="True">
<Border BorderWidth="0px" />
</dxpc:aspxpopupcontrol>
相关文章推荐
- DevExpress第三方控件使用实例之ASPxPopupControl弹出子窗体
- 关于ASP.NET将网页以提示框形式弹出(方法1devexpress ASPxPopupControl )
- aspxpopupcontrol弹出在aspxpivotgrid的下方
- AJAX Control Toolkit——PopupControlExtender(弹出窗口)
- [VB.NET]使用PopupControlExtender 弹出窗口返回Web Service call failed: 500.
- GridView向AspxPopupControl传递参数实现弹出层 (2011-09-30 18:48:19) 转载▼ 标签: gridview aspx popupcontrol 参数传递
- Popup.js 弹出窗口
- 【Android开发日记】第一个任务Android Service!Service靴+重力感应器+弹出窗口+保持执行
- popupWin 属性及用法介绍 ASP.NET控件,仿QQ,msn右下角弹出窗口
- 利用vs的Debug即时窗口学习Web Control
- ASPxPopupControl 显示与关闭
- popupWin 属性及用法介绍 ASP.NET控件,仿QQ,msn右下角弹出窗口
- Asp.net弹出窗口大全(转载自永恒的学习屋)
- AJAX弹出窗口,永远不会被拦截的弹出窗口(create pop up window without popup blocked)
- ios开发学习-弹出视图(Popup View) 效果源码分享--系列教程2
- AjaxControlToolkit 微软出的ajax.net 工具使用教程十四 PopupControlExtender(弹出) 控件的使用
- aspx.cs 文件中,想实现弹出一个警告窗口后,点击“确定”后,重定向到一个 list.aspx 页,如何做啊?
- asp.net弹出窗口代码大全---aspx页面弹出窗口代码大全(1)
- 控件:PopupWindow --- 弹出窗口(基本操作)
- java学习日记----------------为窗口添加背景图