Click here to Skip to main content
15,887,821 members
Articles / Web Development / ASP.NET

Rating Control using Custom Web Control

Rate me:
Please Sign up or sign in to vote.
3.60/5 (4 votes)
6 Feb 2009CPOL 36.4K   699   34  
Custom web control using ASP.NET
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class rating : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
              
    }


    protected void RatingCtrl_Click(object sender, EventArgs e)
    {
        lbllabel.Text ="Your Rate this : "+ RatingCtrl.VoteCount+ " Star";
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
India India
I am working in Microsoft technology since 2001. Love to write code in JavaScript, asp.net and Ajax. See my site at http://www.ravinderweb.com/

Comments and Discussions