<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Template.aspx.cs" Inherits="Rating_Template" %>
<%@ Register TagPrefix="APNSoft" Namespace="APNSoft.WebControls" Assembly="APNSoftControls" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    
    <script type="text/javascript">

        function SegmentClick(ComponentID, SegmentID, SegmentIndex, SegmentValue){
            var val = SegmentValue;
            if(val == -1)val = '\'decimal point\'';
            alert('Clicked segment: ' + val);
        };

    </script>
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <APNSoft:APNSoftRating id="myRating" runat="server"
        SkinFolder = "~/Rating/Skins/Numpad/"
        SegmentsInTotal = "11"
        Template = "~/Rating/Templates/Numpad.html"
        Direction = "None"
        ClientSideOnSegmentClick = "SegmentClick('$ComponentID$', '$SegmentID$', $SegmentIndex$, $SegmentValue$);"
    />



    </div>
    </form>
</body>
</html>