TechBubbles Microsoft Technology BLOG

CategoryASP.NET

Using the ASP.NET SiteMapPath Control

Introduction ASP.NET Navigation controls uses SiteMapPath control to retrieve the navigation information on the website. A SiteMap represent the relationship between the pages in an application. Site Maps Use the Provider Data model. This post explains about default XML Site Map provider, which enables you to store a Site Map in an XML file. Site Map file contains <siteMpNode> elements. You...

ASP.NET ObjectDataSource Control Overview

Introduction This post explains how to represent business objects with the ObjectDatasource control. It allows you to bind DataBound controls such as GridView, DetailsView and FormView. It also enables you to separate your business logic and data access logic from presentation layer. The following types can be the data source for the ObjectDataSource Control Collections ADO.NET Objects LINQ to...

ASP.NET Dynamic Compilation

This post explains about ASP.NET Dynamic Compilation and code-behind pages in more details. When you create a ASP.NET page in web site it actually creates a .NET code behind class. The entire contents of the page is compiled into a .NET class. When you sent a request for ASP.NET page, Framework checks for the corresponding class to the page and if the class not exists, Framework compiles the page...

Using the ASP.NET Panel Control

Introduction This post speaks about using Panel Control in ASP.NET Pages. Panel Control allows you to work with a group of ASP.NET Controls. You can use it to show or hide a group of controls. Example: The Panel control supports the following properties DefaultButton When you set a value to this property, the default button in the panel is invoked when you press the Enter Button. Direction...

View State vs Control State

Control State is another state management technique which is essentially a private view state for your control. In order to preserve the page and control data over round trips to the web server, traditionally we are using View State. View State Property maintains information in hidden field and the data is encrypted. If you disable the View State in your page, the custom controls which used in...

CRUD operations using the List View Web Server Control

Introduction Using the ASP.NET ListView Control we can insert,edit, or delete records without writing any code. This post explains how to display and update data using the ListView control. We will use SqlDataSource control to retrieve results from the data source and act as the data source for the ListView control. 1. Create a web site in visual studio 2008 by selecting the File menu, click new...

Creating Action Filters in ASP.NET MVC Applications

Introduction ASP.NET MVC Applications contains the action methods in the controllers. These actions are mapped through the routing when a user makes a browser request. In order to execute your logic before a action method is called or after an action method runs. ASP.NET MVC support this requirement through a concept called ActionFilters.  ActionFilter Uses Authentication and Authorization...

ASP.NET 3.5 URL Routing

Introduction This post speaks about basics of URL Routing and how URL Routing related to building a ASP.NET MVC Application. You can also use the URL Routing with the ASP.NET Web application if install the Visual Studio 2008 service pack1. This post specifically speaks about how URL Routing is used in ASP.NET MVC Application. URL Routing is critical element in the ASP.NET MVC Application. The...

ASP.NET Data Pager Control in VS 2008

Introduction ASP.NET Data Pager Control is generally used in conjunction with the List View control. Read the post  ASP.NET List View Control in VS 2008 to get the idea of using this control. This post explains the use of new Data Pager Control that ship with the VS 2008. I am using the List View control project to explain the use of Data Pager Control. 1.  We displayed the List of...

ASP.NET 3.5 MVC Application

Introduction This post gives you the basic overview on ASP.NET Models, Views and Controllers. It explains how all parts in MVC Application work together and discuss how the Architecture of an ASP.NET MVC application differs from an ASP.NET  Web Forms application. The Sample ASP.NET MVC Application 1. Launch Visual Studio 2008, Select the menu option File, New Project  then New Project...

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud