Tag Archives: ASP.NET 3.5

Displaying alert message from code-behind in ASP.NET

In this post I will explain how to display alert message in ASP.NET from code-behind. We will create a function in the code-behind file to display alert message dynamically. We will register Javascript dynamically at runtime using ScriptManager.RegisterStratupScript method and display a Javascript alert message from the code-behind. Create a new ASP.NET Application and add… Read More »

Using single event handler for multiple control’s event in Windows Forms and ASP.NET using C#, VB.NET

Introduction: In this post I will explain how to use single event handler for click event of multiple Button controls in Windows Forms and ASP.NET using C# and VB.NET Description: Event handling in Windows Forms Create a new Windows Forms application and four buttons on the form, “btnAdd”, “btnSubtract”, “btnMultiply” and “btnDivide”. Write following event… Read More »

Changing UICulture of master and content pages on button click in ASP.NET using C#, VB.NET

Download Source Code Introduction In this article I will explain how to change UICulture of master and content pages on button click in ASP.NET. This will enable users to select a language to view contents of a page/site. When user selects a language, UICulture of the page is set to that specific language and page… Read More »

Create a Geographical Chart (Geo Chart) in ASP.NET from database using Google Chart Tools

In this article I will explain how to create a Geographical Chart in ASP.NET from database using Google Chart Tools Download Source Code Introduction In my last article I discussed about creating a simple Pie Chart in ASP.NET using Google Chart API. In this article we will see how we can create a Geographical Chart… Read More »

Custom Paging in ASP.NET GridView control with AJAX using ObjectDataSource control

Download source code In this article I will explain how to do custom paging in ASP.NET GridView control with AJAX using ObjectDataSource control Introduction In this article we will see how to enable custom paging in ASP.NET GridView control using ObjectDataSource control. We will also enable AJAX to avoid post back after navigation through paging.… Read More »

How to edit Master-Detail form using GridView and DetailsView control in ASP.NET

In this article I will explain how to edit master-detail form using GridView and DetailsView control in ASP.NET Download source code Introduction In one of my previous article I explained how to Master-Detail form using GridView and DetailsView in ASP.NET. In this ariticle I will explain how to edit a master/detail form in ASP.NET from… Read More »

How to highlight sorted column of a GridView control in ASP.NET

In this article I will explain how to highlight sorted column of a GridView control in ASP.NET Introduction In this article I will explain how to highlight or select the column of an ASP.NET GridView control whose header has been clicked for sorting Step 1: Create a new ASP.NET Web Application and drag a GridView… Read More »

GridView Paging and Sorting in ASP.NET without using a DataSource

In this article I will explain how to enable paging and sorting in a GridView control manually without using a DataSource Download Source Code Introduction: In this article I will explain how to enable paging and sorting in a GridView control manually without using a DataSource like SqlDataSource Step 1: Create a new ASP.NET Web… Read More »

GridView Paging and Sorting in ASP.NET using SqlDataSource

Introduction: In this article I will explain how to enable paging and sorting in a GridView control using SqlDataSource in design view Step 1: Create a new ASP.NET Web Application and drag a GridView control in Default.aspx design view and select New Data Source from the Chose Data Source dropdown in the GridView Tasks pane… Read More »

How to show images in RadioButtonList control in ASP.NET

In this article I will explain how to show images in a RadioButtonList control in ASP.NET Introduction: A RadioButtonList control is a collection of RadioButtons. It is used to select one item from a group of items. Generally a text is displayed with RadioButtons in the RadioButtonList. But sometimes it is required to display an… Read More »