Category: ASP.NET


  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…