Home / ASP.NET Wiki / ASP.NET Life Cycle Overview / Data-centric UI Controls

Data-centric UI Controls

 Rate It (8)

Both the GridView and ListView are important Data Controls in Visual Studio 2008.

Editing, Inserting, and Deleting Data

Paging and Sorting

Displaying Data with the DataList and Repeater

Filtering Scenarios with the DataList and Repeater

Editing and Deleting Data Through the DataList

Paging and Sorting with the DataList and Repeater

Enjoy!

Revision number 9, Monday, September 10, 2012 3:21:36 PM by tmorton

Comments

Both the GridView and ListView are new Data Controls in Visual Studio 2008. I don't understands above statement. Controls come with Framework or IDE? And GridView exist from .NET 2.0 (VS 2005)? Am I missing something?

who told you that "Both the GridView and ListView are new Data Controls in Visual Studio 2008." that's completly wrong, they are already used before VS 2008

In This Section

CheckBoxList

The CheckBoxList control creates a multiselection checkbox group that can be dynamically generated using databinding. To specify items that you want to appear in the CheckBoxList control, place a ListItem element for each entry between the opening and closing

ListBox

The ListBox control is used to create a list control that allows single or multiple item selection. Use the Rows property to specify the height of the control. By default, the ListBox only allows a single selection to be made at a time.To enable the selection

Dynamically create hyperlinks For English Characters from A-Z

This is how to Dynamicly build the a links of characters from A-Z , somthing like this A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z You may need to filter a GridView results , like displaying the list

Displaying the files for a specific folder and allow the user to download them.

This is how to to list the files in a specific directory and allow the user to download the files. ASPX: asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="2" ForeColor="#333333"

Comparing ListView with GridView,DataList and Repeater

The ListView control is a new data presentation control that was added to .Net 3.5 , you may wonder why its added to the framework , and what it provide . The ListView control was added to provide The following functionalities : A very flexible and customizable

DropDownList

The DropDownList Web server control enables users to select from a single-selection drop-down list box. The DropDownList control is similar to the ListBox Web server control. It differs in that it shows only the selected item in a box.To specify the items

RadioButtonList

A RadioButtonList can be used to select 1 option within several options. The item "Pizza with egg" is selected by default. asp:RadioButtonList ID="RadioButtonList1" runat="server"> asp:ListItemSelected="True">Pizza

Repeater

The Repeater control is the most lightweight Data Presentation control available in the ASP.NET framework and has been around since version 1.0.This control is used to display a repeated lists of items that are bound to the control.External Links:- ASP.NET

ASP.net Chart in 10 Simple Steps.

ASP.net chart control is one of the newly introduced controls to the Visual Studio IDE from Visual Studio 2010 onwards. It is a very powerful, yet easy to use server side control. Let's take an example on how to use it.Prerequisites:You would need AdventureWorks

Event bubbling

Server controls like Datagrid, DataList, Repeater can have other child controls insidethem. Example DataGrid can have combo box inside datagrid. These child control do notraise there events by themselves, rather they pass the event to the container parent

GridView

The GridView control was introducedwith ASP.NET 2.0 and Visual Studio 2005 as a replacement for the DataGrid control. While it has many similarities to the original DataGrid controlthe GridView is a more feature rich control. A variety of resources are linked

ListView

Some people think that the ListVew is a better Repeater and is one the best new additions to Visual Studio 2008. Blogs/Articles Using the ListView Control in ASP.NET 3.5: Mustafa Basgun has also written some great articles that drill into the new ListView

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. abiruban (1)