TechBubbles

ASP.NET 3.5 Chart Control

Introduction

ASP.NET 3.5 SP1 having a new charting control which allows the developers to easily add different data visualizations to their web applications.The control supporting different chart types like column charts,line charts and pie charts and also advance chart types like funnel and pyramid charts.This post explains about using this control in web applications.

You can download the chart control here which installs all runtime components for using the control. It also places the System.Web.DataVisualization in GAC.

You can also download the Control Add-on for VS 2008 Tool box which gives you toolbox integration and intellisense support at design time.

After the installation you can find the chart control in the toolbox window as shown below

ChartTool

Read more

Related Posts:

2 comments

REST Based WCF Service in ASP.NET 3.5

Introduction

This post explains you about building a REST-based service using Windows Communication Foundation(WCF) and ASP.NET 3.5. We develop this service without using the SOAP.You can read the REST Overview to get an understanding of what REST is? In simple tetchier statement we can say REST is WCF Web programming model.

1. Create a new web site in VS 2008 as follows

EmptyWebsite

Select the HTTP from the location box and type the AdventureWeb in the name location box.

Read more

Related Posts:

11 comments

ASP.NET 3.5 List Controls Overview

Introduction

This post explains the List Controls that are included in the ASP.NET 3.5. List Controls are one of the Data Bound type controls in ASP.NET. The following are the five List Controls in ASP.NET 3.5.

  • BulletedList – It displays the list of items which can be displayed as text, a link button, or a hyperlink.
  • CheckBoxList- It displays the list of checkboxes where user having the option of selecting the multiple checkboxes.
  • DropDownList- It displays the list of items where user can select only one item from the list.
  • ListBox-It displays the list of items where user can select the single or multiple items from the list.
  • RadioButtonList-It displays the list of radio buttons where user can select the only one button from the list of items.

All the above mentioned controls are inherited from the base class ListControl.

You can write the following to bind the data to above mentioned controls

Read more

Related Posts:

No comments

Master Pages in ASP.NET 3.5

Introduction

Master Pages allows you to display common content in multiple pages. It easier to maintain, extend and modify your web site with master pages. This post post explains about how to use master pages and different methods of modifying the content in a master page from individual content pages.

You can create a master page in visual studio by selecting the web site menu option, Add new item and selecting the master page item.

Notice that it contains <%@Master %> directive and includes two content place holder controls. The content from the content page appears in the content place holders. You can add as many ContentPlaceHolders to a Master Page as you need.

Note: You can not cache a Master Page with the OutputCache directive and themes can not applied to master page.

Read more

Related Posts:

No comments