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;
using APNSoft.WebControls;
public partial class Rating_Precise : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//Create the collection of Segments
myRating.DataBind();
RatingSegmentCollection mySegments = myRating.Segments;
//Customize each segment
mySegments[0].image = "Poor.gif";
mySegments[0].imageActive = "PoorActive.gif";
mySegments[0].imageDisabled = "PoorDisabled.gif";
mySegments[0].imageDisabledActive = "PoorDisabledActive.gif";
mySegments[0].title = "Poor";
mySegments[1].image = "Average.gif";
mySegments[1].imageActive = "AverageActive.gif";
mySegments[1].imageDisabled = "AverageDisabled.gif";
mySegments[1].imageDisabledActive = "AverageDisabledActive.gif";
mySegments[1].title = "Average";
mySegments[2].image = "Good.gif";
mySegments[2].imageActive = "GoodActive.gif";
mySegments[2].imageDisabled = "GoodDisabled.gif";
mySegments[2].imageDisabledActive = "GoodDisabledActive.gif";
mySegments[2].title = "Good";
}
}
|