随笔分类 -  ASP.NET AJAX

摘要:控件结构如下 <ajaxToolkit:TabContainer ID="TabContainer1" Height="300px" runat="server" CssClass="ajax__myTab" ActiveTabIndex="0"> <ajaxToolkit:TabPanel runat="server" ID="p1" ToolTip="num"> <HeaderTemplate> 阅读全文
posted @ 2011-08-17 12:53 January 阅读(1456) 评论(2) 推荐(0)
摘要:1.Resizable Server PropertiesTargetControlID - The ID of the element that becomes resizableHandleCssClass - The name of the CSS class to apply to the resize handleResizableCssClass - The name of the CSS class to apply to the element when resizingMinimumWidth/MinimumHeight - Minimum dimensions of the 阅读全文
posted @ 2011-08-13 13:39 January 阅读(399) 评论(0) 推荐(0)
摘要:该控件的作用就是配合验证控件使用,以气球的形式弹出错误提示。TargetControlID - The ID of the Validator to extend.(要添加扩展的验证控件的ID)Width - The Width of the callout.()CssClass - Name of the CSS used to style the ValidatorCallout.See the ValidatorCallOut Theming section for more information.(低版本中不存在该属性,该属性是该控件的核心)添加CssClass后如下图:>&g 阅读全文
posted @ 2011-08-12 14:36 January 阅读(544) 评论(0) 推荐(0)
摘要:PagingBulletedList is an ASP.NET AJAX extender that can be attached to an ASP.NET BulletedList control and provide client-side sorted paging. It is very flexible and lets you specify either the number of characters used in the heading indices or the maximum number of items to display per index. If t 阅读全文
posted @ 2011-08-11 14:28 January 阅读(387) 评论(0) 推荐(0)
摘要:1.ListSearch Server ReferencePromptText - Message to display when the ListBox or DropDownList is given focus. Default is 'Type to search'. The PromptText is replaced by the search text typed by the user.PromptCssClass - The name of the CSS class to apply to the prompt message.PromptPosition 阅读全文
posted @ 2011-08-11 10:44 January 阅读(390) 评论(0) 推荐(0)
摘要:关于Nobot可以参看NoBot,一下提供一个微软的案例: 1 <form> 2 <asp:ScriptManager ID="ScriptManager1" runat="server" /> 3 <div> 4 <asp:MultiView ID="MultiView1" runat="server"> 5 <asp:View ID="View1" runat="server"> 6 <p>Pleas 阅读全文
posted @ 2011-08-11 10:22 January 阅读(434) 评论(0) 推荐(0)
摘要:该控件可以扩展到ASP.NET CheckBox,一组都添加该扩展的复选框只要设置相同的key,那么一次就只有一个复选框能被选中(Checked),类似Radio Button。The use of checkboxes however allows you to choose to uncheck a value which is not possible normally with radio buttons. This also provides a more consistent and expected interface than using javascript to allow 阅读全文
posted @ 2011-08-11 09:52 January 阅读(246) 评论(0) 推荐(0)
摘要:1.DropDown Server ReferenceTargetControlID - The ID of the control which needs a drop-down.(ex:Label or TextBox)<补充一点:TargetControl的文本是不能改变的>DropDownControlID - The ID of the control which will be displayed as the dropdown.2.Demo(1)HTML Code 1 <asp:ScriptManager ID="ScriptManager1" 阅读全文
posted @ 2011-08-10 10:17 January 阅读(352) 评论(0) 推荐(0)
摘要:虽然不使用Ajax Contorl Toolkit也能实现该效果,当然如果使用ASP.NET中自带的Calendar要解决异步刷新还要配合UpdatePanel使用。但或许该控件对多数人还是相对容易些。首先对该控件的一些常用属性做一下基本的了解:TagetControlID - 一般是TextBox的 ID.CSSClass - Name of the Cascading Style Sheet class Use to style the calendar.DaysModeTitleFormat - Format string used to display Days Mode Title. 阅读全文
posted @ 2011-08-08 14:11 January 阅读(878) 评论(0) 推荐(0)
摘要:1.控件效果2.ToggleButton Server PropertiesTargetControlID - The ID of The CheckBox to modify.ImageHeight\ImageWidth - The height and width of the image.CheckedImageUrl- The URL of the image to show when the toggle is in the checked state.UnchekedImageUrl - the URL of the image to show when the toggle bu 阅读全文
posted @ 2011-08-08 11:40 January 阅读(576) 评论(0) 推荐(0)
摘要:TargetControlID - ID of the TextBox to attach to(要添加扩展的TextBox ID)DisplayPosition - Positioning of the strength indicator relative to the target control(密码强度提示相对于TextBox的位置,AboveLeft,AboveRight,BelowLeft,BelowRight,LeftSide,LeftRight)StrengthIndicatorType - Strength indicator type (Text or BarIndica 阅读全文
posted @ 2011-08-07 15:36 January 阅读(731) 评论(0) 推荐(0)
摘要: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 &#10;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)