博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
AJAX Cntorl Toolkit - ResizeableControl(可缩放控件)
阅读量:6413 次
发布时间:2019-06-23

本文共 4385 字,大约阅读时间需要 14 分钟。

1.Resizable Server Properties

TargetControlID - The ID of the element that becomes resizable

HandleCssClass - The name of the CSS class to apply to the resize handle

ResizableCssClass - The name of the CSS class to apply to the element when resizing

MinimumWidth/MinimumHeight - Minimum dimensions of the resizable element

MaximumWidth/MaximumHeight - Maximum dimensions of the resizable element

OnClientResizeBegin - Event fired when the element starts being resized

OnClientResizing - Event fired as the element is being resized

OnClientResize - Event fired when the element has been resized

HandleOffsetX/HandleOffsetY - Offsets to apply to the location of the resize handle

Resizable image with buttons for automatic resizing

Last image resize: Unknown

ASP.NET AJAX is a free framework for building a new generation of richer, more interactive, highly personalized cross-browser web applications. This new web development technology from Microsoft integrates cross-browser client script libraries with the ASP.NET 2.0 server-based development framework. In addition, ASP.NET AJAX offers you the same type of development platform for client-based web pages that ASP.NET offers for server-based pages. And because ASP.NET AJAX is an extension of ASP.NET, it is fully integrated with server-based services. ASP.NET AJAX makes it possible to easily take advantage of AJAX techniques on the web and enables you to create ASP.NET pages with a rich, responsive UI and server communication. However, AJAX isn't just for ASP.NET. You can take advantage of the rich client framework to easily build client-centric web applications that integrate with any backend data provider and run on most modern browsers.
Resizable text with "onresize" event handler
This text resizes itself to be as large as possible within its container.
ASP.NET AJAX is a free framework for building a new generation of richer, more interactive, highly personalized cross-browser web applications. This new web development technology from Microsoft integrates cross-browser client script libraries with the ASP.NET 2.0 server-based development framework. In addition, ASP.NET AJAX offers you the same type of development platform for client-based web pages that ASP.NET offers for server-based pages. And because ASP.NET AJAX is an extension of ASP.NET, it is fully integrated with server-based services. ASP.NET AJAX makes it possible to easily take advantage of AJAX techniques on the web and enables you to create ASP.NET pages with a rich, responsive UI and server communication. However, AJAX isn't just for ASP.NET. You can take advantage of the rich client framework to easily build client-centric web applications that integrate with any backend data provider and run on most modern browsers.

1 .frameImage  2 {
3 width:130px; 4 height:65px; 5 overflow:hidden; 6 float:left; 7 padding:3px; 8 } 9 10 .frameText 11 {
12 width:100px; 13 height:100px; 14 overflow:auto; 15 float:left; 16 background-color:#ffffff; 17 border-style:solid; 18 border-width:2px; 19 border-color:Gray; 20 font-family:Helvetica; 21 line-height:normal; 22 } 23 24 .handleImage 25 {
26 width:15px; 27 height:16px; 28 background-image:url(images/HandleHand.png); 29 overflow:hidden; 30 cursor:se-resize; 31 } 32 33 .handleText 34 {
35 width:16px; 36 height:16px; 37 background-image:url(images/HandleGrip.png); 38 overflow:hidden; 39 cursor:se-resize; 40 } 41 42 .resizingImage 43 {
44 padding:0px; 45 border-style:solid; 46 border-width:3px; 47 border-color:#B4D35D; 48 } 49 50 .resizingText 51 {
52 padding:0px; 53 border-style:solid; 54 border-width:2px; 55 border-color:#7391BA; 56 }

1 protected void Button2_Click(object sender, EventArgs e) 2     {
3 System.Drawing.Size s = ResizableControlExtender1.Size; 4 ResizableControlExtender1.Size = new System.Drawing.Size(s.Width / 2, s.Height / 2); 5 }

  

  

  

转载于:https://www.cnblogs.com/January/archive/2011/08/13/2136758.html

你可能感兴趣的文章
初次使用git submodule
查看>>
INPUT[type=file] 的 'value' 属性值在各浏览器中存在差异
查看>>
Python3导入Asprise Ocr报错
查看>>
livy 为 apache Spark 提供REST 接口交互
查看>>
我的友情链接
查看>>
maven 继承聚合依赖属性
查看>>
链式二叉树
查看>>
mysql show processlist命令 详解
查看>>
ubuntu下架设svn服务器及在windows建立svn+ssh客户
查看>>
设计模式系列-外观模式
查看>>
C++编程->import函数
查看>>
DNS
查看>>
只读表空间的备份与恢复
查看>>
Zookeeper 集群
查看>>
设计模式-外观模式
查看>>
给年轻工程师的十大忠告(转载)
查看>>
Java访问USB设备
查看>>
服务端 REST与页面兼容的URL设计
查看>>
servlet中的客户端和服务端跳转
查看>>
六、Python自动化运维入门(面向对象编程)
查看>>