Você está na página 1de 5

What is the ASP.NET AJAX Control Toolkit? The ASP.

NET AJAX Control Toolkit is an open-source project built on top of the Microsoft ASP.NET AJAX framework. It is a joint effort between Microsoft and the ASP.NET AJAX community that provides a powerful infrastructure to write reusable, customizable and extensible ASP.NET AJAX extenders and controls, as well as a rich array of controls that can be used out of the box to create an interactive Web experience. The AJAX Control Toolkit contains more than 30 controls that enable you to easily create rich, interactive web pages. SQLDataSource The SqlDataSource control enables you to use a Web server control to access data that is located in a relational database. You can use the SqlDataSource control with data-bound controls such as the GridView, FormView, and DetailsView controls to display and manipulate data on an ASP.NET Web page, using little or no code. For information about how to configure the SqlDataSource control by using code instead of markup, see the documentation for the SqlDataSource class and for its methods, properties, and events. Data List Control The DataList control is, like the Repeater control, used to display a repeated list of items that are bound to the control. However, the DataList control adds a table around the data items by default. DetailsView The DetailsView control in ASP.Net 2.0 is used to create an HTML table that displays the contents of a single database record. DropDownList The DropDownList control is used to create a drop-down list. Each selectable item in a DropDownList control is defined by a ListItem element! Property SelectedIndex OnSelectedIndexChanged runat Description The index of a selected item The name of the function to be executed when the index of the selected item has changed Specifies that the control is a server control. Must be set to "server" .NET 1.0 1.0 1.

CheckBoxlist

The CheckBoxList control is used to create a multi-selection check box group. Each selectable item in a CheckBoxList control is defined by a ListItem element! Property CellPadding CellSpacing RepeatColumns RepeatDirection RepeatLayout runat TextAlign Description The amount of pixels between the border and the contents of the table cell The amount of pixels between table cells The number of columns to use when displaying the check box group Specifies whether the check box group should be repeated horizontally or vertically The layout of the check box group Specifies that the control is a server control. Must be set to "server" On which side of the check box the text should appear .NET 1.0 1.0 1.0 1.0 1.0 1.0 1.0

Hyperlink The HyperLink control is used to create a hyperlink. Property ImageUrl NavigateUrl runat Target Text Description The URL of the image to display for the link The target URL of the link Specifies that the control is a server control. Must be set to "server" The target frame of the URL The text to display for the link .NET 1.0 1.0 1.0 1.0 1.0

Standard tools AdRotator control BulletedList control Button control Calendar control CheckBox control CheckBoxList control

ContentPlaceholder control DropDownList control FileUpload control HiddenField control Hyperlink control Image control ImageButton control ImageMap control Label control LinkButton control ListBox control Literal control Localize control MultiView control Panel control PlaceHolder control RadioButton control RadioButtonList control Substitution control Table control TextBox control View control Wizard control XML control

DIV The <div> tag defines a division or a section in an HTML document. The <div> tag is used to group block-elements to format them with styles. Tip: The <div> element is very often used together with CSS, to layout a web page. Standard Attributes The <div> tag supports the following standard attributes: Attribute class dir id lang style title xml:lang Value classname rtl ltr id language_code style_definition text language_code Description Specifies a classname for an element Specifies the text direction for the content in an element Specifies a unique id for an element Specifies a language code for the content in an element Specifies an inline style for an element Specifies extra information about an element Specifies a language code for the content in an element, in XHTML documents DTD STF STF STF STF STF STF STF

Event Attributes The <div> tag supports the following event attributes: Attribute onclick ondblclick onmousedown onmousemove onmouseout onmouseover onmouseup onkeydown onkeypress onkeyup Value script script script script script script script script script script Description Script to be run on a mouse click Script to be run on a mouse double-click Script to be run when mouse button is pressed Script to be run when mouse pointer moves Script to be run when mouse pointer moves out of an element Script to be run when mouse pointer moves over an element Script to be run when mouse button is released Script to be run when a key is pressed Script to be run when a key is pressed and released Script to be run when a key is released DTD STF STF STF STF STF STF STF STF STF STF

Autopostback The AutoPostBack property is used to set or return whether or not an automatic post back occurs when the user presses "ENTER" or "TAB" in the TextBox control. If this property is set to TRUE the automatic post back is enabled, otherwise FALSE. Default is FALSE. Syntax <asp:TextBox AutoPostBack="TRUE|FALSE" runat="server"/>

NavigateURL The NavigateURL property is used to set or return the URL of a HyperLink control. Syntax <asp:HyperLink NavigateUrl="URL" runat="server" />

Attribute URL

Description A string that specifies the URL of the hyperlink control

Você também pode gostar