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 …
An Example of Data Binding with RadioButtonList Control
This is my third post on Data Binding in ASP.NET. Earlier I have explained the concept of Data Binding using examples on two of the available List controls in ASP.NET – DropDownList, and BulletedList. In this article, I will give An Example of Data Binding with RadioButtonList Control. Besides, explaining data binding, I will also discuss how to …
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 …
Binding Data to Web Control in ADO.NET
In this article on Binding Data to Web Control in ADO.NET, I will explain how to bind the data values from a dataset to a web control such as List Controls. The ToolBox in ASP.NET provides many data-bound controls. However, some of these controls are the basic data-bound controls whereas some advanced controls. evidently, the advanced data-bound controls …
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 …