Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating a webform that shows rating of the receipe.I tried following code using aax toolkit
XML
<asp:ScriptManager ID="asm" runat="server" />
   <div>
     <asp:Label ID="Label1" runat="server" />
     <ajaxToolkit:Rating ID="r1" runat="server"
       CurrentRating="0" MaxRating="5"
       EmptyStarCssClass="emptypng" FilledStarCssClass="smileypng"
       StarCssClass="smileypng" WaitingStarCssClass="donesmileypng" />
     <input type="submit" id="Submit1" runat="server" value="Rate!" />


I am getting following error
Unknown server tag 'ajaxToolkit:Rating'.
Pls give your support
regards
Posted

1 solution

do you add these lines on your page
C#
<%@ Register Assembly="AjaxControlToolkit"  Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit"%>

and add reference to ajaxtoolkit dll to your web application.
To add refrence
go to solution explorer
->Add Reference
->select Browse tab
->Browse the path of ajaxtoolkit dll
->ok
 
Share this answer
 
v3
Comments
shivani 2013 3-Apr-12 6:57am    
Could you pleaes tell how to add reference to ajaxtoolkit dll to my web application.
uspatel 3-Apr-12 7:02am    
see updated answer......
shivani 2013 5-Apr-12 1:55am    
thanks ..You really supported me on this .You are acknowledgeable

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900