zoukankan
html css js c++ java
altas(ajax)控件(九):可拖动面板DragPanel
使用非常简单:
<
asp:Panel
ID
="Panel6"
runat
="server"
Width
="250px"
style
="z-index: 20;"
>
<
asp:Panel
ID
="Panel7"
runat
="server"
Width
="100%"
Height
="20px"
BorderStyle
="Solid"
BorderWidth
="2px"
BorderColor
="black"
>
<
div
class
="dragMe"
>
用鼠标拖动
</
div
>
</
asp:Panel
>
<
asp:Panel
ID
="Panel8"
runat
="server"
Width
="100%"
Height
="250px"
Style
="overflow: scroll;"
BackColor
="#0B3D73"
ForeColor
="whitesmoke"
BorderWidth
="2px"
BorderColor
="black"
BorderStyle
="Solid"
>
<
div
>
<
p
>
This panel will reset its position on a postback or page refresh.
</
p
>
<
hr
/>
<
p
>
<%
=
GetContentFillerText()
%>
</
p
>
</
div
>
</
asp:Panel
>
</
asp:Panel
>
<
ajaxToolkit:DragPanelExtender
ID
="DragPanelExtender1"
runat
="server"
TargetControlID
="Panel6"
DragHandleID
="Panel7"
/>
·
TargetControlID
–
指定可以拖动的面板的
ID
·
DragHandleID
–
指定一个
ID
,作为拖动面板的标题栏。
效果如下:http://www.asp.net/AJAX/Control-Toolkit/Live/DragPanel/DragPanel.aspx
查看全文
相关阅读:
移动平台开发需要的记录(续)
移动平台开发需要的记录
Chrome浏览器被劫持
记录一个GO安装问题
记录开发环境配置 MySql(5.7.17)+EF6.x+VS2017(15.7.1)
win7(x64)下安装cocos2d并编译安卓项目
Xocde一次版本升级遇到的问题 (Code Sign Error)
【转】SqlServer将没有log文件的数据库文件附加到服务器中
[转]IIS6.0迁移至IIS7.0
重置VS设置
原文地址:https://www.cnblogs.com/hainange/p/6153355.html
最新文章
JS操作select下拉框动态变动(创建/删除/获取)
Hibernate: ids for this class must be manually assigned before calling save():
Oracle 常用的一些命令
sqljdbc 无法连接到主机
html头标签meta实现refresh重定向
windows 自动copy远程服务器文件
VS2003在win7 64位的调试
ORA-12514 TNS 监听程序当前无法识别连接描述符中请求服务 的解决方法
SQL 递归找查所有子节点及所有父节
自动化运维之ansible
热门文章
linux分布式存储介绍
实验之MySQL日志备份与恢复
Nginx的反向代理和缓存功能介绍
基于LNMP的实验之电子商务网站
负载均衡集群实验--LVS-nat模式
负载均衡集群实验--LVS-DR模式
日志管理之小实验:实现loganalyzer
网络文件共享服务之虚拟用户小实验
MYSQL基础之centos 6下二进制安装mariadb
制作font-icon有感
Copyright © 2011-2022 走看看