随笔分类 -  学习点滴

摘要:Minimum - Minimum value allowed.(允许的最小值)Maximum - Maximum value allowed.(允许的最大值)Decimals - Number of decimal digits for the value.(值的小数位数)Steps(步幅) - Number of discrete values inside the slider's range.(默认值为0,值越小滑动的滑块滑动的范围就越大)Value - Current value of the slider.(滑块的当前值,但似乎没有找到这个属性)EnableHandleAn 阅读全文
posted @ 2011-08-06 13:28 January 阅读(1025) 评论(0) 推荐(0)
摘要:TargetControlID - The ID of the Button Control to extend.(要进行扩展的按钮控件)ConfirmText - The confirmation text to display.HTML entities can be used,such as 
for a newline character.(要显示的确认文本,可以是HTML实体,如一个换行符)OnClientCancel - The Client script to execute when the Cancel button is clicked in the con 阅读全文
posted @ 2011-08-05 11:54 January 阅读(414) 评论(0) 推荐(0)
摘要:同样要说的是“停靠菜单”,用JQuery(JavaScript)都是容易实现的。来看看该控件的属性:TargetControlID - The control that the extender is targeting. When the mouse cursor is over this control, the hover menu popup will be displayed.PopupControlID - The ID of the control to display when mouse is over the target control. (当鼠标指针悬停在目标控件上方时 阅读全文
posted @ 2011-08-03 15:28 January 阅读(990) 评论(0) 推荐(0)
摘要:FilterTextBoxExtenderTargetControlID - 要执行文本过滤的TextBox ID FilterType - 过滤类型,Numbers,LowercaseLetters(小写),UpcaseLettes(大写)and Custom(default) FilterMode-ValidChars(default) and InvalidChars(低版本中不存在次属性),设置其中任意一个值时,FilterType必须为Custom,也就是说FilterType是同时可以设置两种类型(Custom和其中任意一中),具体可以参看例子ValidChars-有效字符,Fil 阅读全文
posted @ 2011-08-03 13:16 January 阅读(722) 评论(0) 推荐(0)
摘要:该控件的效果就是可以使相应的Panel产生阴影和圆角框的效果,要说的是该控件在CSS3来临之际并不存在多大的意义了,因为在CSS3中同样可以实现而且更加理想的效果。但是要说明的是不要为目标Panel添加过多的CSS属性,不然会出现预料之外的效果,如果你想设置内容的内边距(padding),建议用在Panel里面嵌套div,在为期添加相应的CSS。 1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_D 阅读全文
posted @ 2011-08-03 12:04 January 阅读(390) 评论(0) 推荐(0)
摘要:1.初始效果2.改变位置后TargetControlID - The ID of a Panel to make draggable.(本例为:PanelContainer)DragHandleID - The ID of a control that will serve as the "drag handle" for the panel. When the user clicks and drags this control, the panel will move.(本例为:PanelHeader,当单击“Header”,按住可拖动)示例代码: 1 <asp: 阅读全文
posted @ 2011-08-03 10:04 January 阅读(428) 评论(0) 推荐(0)
摘要:ModalPopupExtender,该控件的直观效果就是,当单击页面上的关联的控件时弹出对话框的同时页面出现蒙板效果,通过确定(执行一定的操作)和取消返回原页面。其实博客园“插入代码”就有点类似该控件。TargetControlID -激活弹出框的元素的IDPopupControlID - 弹出控件的IDBackgroundCssClass - 当弹出对话框时,背景的CSS样式DropShadow - 值为True时,自动为弹出的对话框添加阴影OkControlID - The ID of the element that dismisses the modal popup.OnOkScri 阅读全文
posted @ 2011-08-02 10:28 January 阅读(1478) 评论(1) 推荐(0)
摘要:PopupControl is an ASP.NET AJAX extender that can be attached to any control in order to open a popup window that displays additional content. This popup window will probably be interactive and will probably be within an ASP.NET AJAX UpdatePanel, so it will be able to perform complex server-based pr 阅读全文
posted @ 2011-08-02 09:39 January 阅读(1674) 评论(0) 推荐(1)
摘要:该控件的效果就是在TextBox控件上添加“水印”效果,也就是当TextBox为空时,显示提示消息,当然你还可以为“水印”自定义CSS效果,一旦TextBox聚焦,样式就消失。TextBoxWatermarkExtender——TargetControlID,要添加效果的TextBox控件ID——WatermarkText,当控件没有赋值时的提示文本——WatermarkCssClass,应用于WatermarkText的样式示例代码:(from Microsoft) 1 <asp:ScriptManager ID="ScriptManager1" runat=&qu 阅读全文
posted @ 2011-08-01 23:45 January 阅读(676) 评论(0) 推荐(0)
摘要:{本内容来源于微软}源视图代码: 1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 2 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 4 <html 阅读全文
posted @ 2011-08-01 10:30 January 阅读(414) 评论(0) 推荐(0)
摘要:【引用】“This extender targets any ASP.NET Panel control.You specify which control or controls on the page should act as the open and close controllers for the panel.”属性名描述TargetControlID要使用展开和折叠效果的Panel IDCollapseSize目标折叠时的大小(单位px)ExpandedSize目标展开时的大小(单位px)Collapsed(true or false)目标呈现时是否折叠,false(defaul 阅读全文
posted @ 2011-07-21 16:50 January 阅读(767) 评论(0) 推荐(0)
摘要:AlwaysVisibleControlExtender控件:该控件的最直观的效果就是无论你如何拖动滚动条还是拖拽浏览器窗口大小,该控件都会随之变化或者说始终复位到浏览器窗口的固定位置。 (AlwaysVisibleControlExtender used to add constant visibility to an ASP.NET control. The control that is extended then always moves to fixed position in the page regardless of how the body is resized or scrolled.) 阅读全文
posted @ 2011-07-20 01:17 January 阅读(468) 评论(0) 推荐(0)
摘要:介绍了Ajax Control Toolkit下Accordion控件的基本用法和如何绑定数据库,还与就jQuery中的方法做了关联。 阅读全文
posted @ 2011-07-19 22:17 January 阅读(1417) 评论(0) 推荐(0)
摘要:后台代码为控件指定数据源若想使用服务器控件GridView的排序功能,除了将控件的AllowSorting属性设置为true以外,还必须在控件的Sorting操作中为控件添加相应事件;而且必须为SortExpression行为指定相关联的字段。如下: <asp:BoundField DataField="ID" HeaderText="PersonID" ReadOnly="True" SortExpression="ID" /> 阅读全文
posted @ 2011-07-18 17:15 January 阅读(257) 评论(0) 推荐(0)