Custom Validator Control in ASP.NET

To begin with, in this article, I will explain Custom Validator Control in ASP.NET using an example. Although ASP.NET provides a number of validation controls, still in many situations none of them may work. Especially, when you want to match the content of a TextBox with a value stored in the database, you need a user-defined function for this purpose. …

Validation Summary Control in ASP.NET

To summarize the validation errors on a web page we use Validation Summary Control in ASP.NET. However, for a basic understanding of server-side validation controls, you can read this article. Important Points Regarding the validation Summary Control In fact, this control doesn’t perform any validation itself but only collects error information from other validation controls and displays it in …

Validation Controls Examples – RequiredFieldValidator, CompareValidator, and RangeValidator

To begin with, in this post, I will provide certain Validation Controls Examples – RequiredFieldValidator, CompareValidator, and RangeValidator. In my earlier post on validation controls, I have explained the concept and here I will demonstrate them using code examples. Example of Required Field Validator Control The following example shows how to use the Required Field Validator …

Data Binding Using BulletedList Control

ASP.NET provides several server-side controls that allow data binding. Earlier I have discussed the basics of Data Binding in ASP.NET and demonstrated it using DropDownList Control. In this article, I will explain Data Binding Using BulletedList Control which is one of the List Control available in ASP.NET. Before proceeding with data binding using BulletedList Control, let us first discuss some important …

Examples of AdRotator Control in ASP.NET

Today I will explain how to include advertisements in a web application by providing Examples of AdRotator Control in ASP.NET. To begin with, the AdRotator control displays an advertisement banner on a web page of a website. For this purpose, ASP.NET provides a class known asAdRotator in the namespace System.Web.UI.WebControls. Hoe Does AdRotator Control Displays Advertisements In order …

Examples of Validation Controls in ASP.NET

Basically, validation is one of the most significant tasks in creating a web application. This article will provide several examples of Validation Controls in ASP.NET. Validation Controls in ASP.NET In fact, ASP.NET provides following six types of validation controls that you can use to validate the data of a Web Form. RequiredFieldValidator CompareValidator RangeValidator RegularExpressionValidator CustomValidator ValidationSummary Required Field …

Overview of MVC architecture in ASP.NET

This article will briefly provide an Overview of MVC architecture in ASP.NET. Basically, MVC (Model View Controller) is an architectural pattern for creating an application. With this pattern, the application is designed using three entities – the Model, the View, and the Controller. While the Model represents the data maintained by the application, View provides the …