开发者

Problem with using ajax in visual studio

<cc1:Rating ID="Rating1" runat="server"
    MaxRating="5"
        CurrentRating="2"
        CssClass="ratingStar"
        StarCssClass="ratingItem"
        WaitingStarCssClass="Saved"
        FilledStarCssClass="Filled"
        EmptyStarCssClass="Empty"
>
            </cc1:Rating>
    </asp:Content>

That rating control doesnt appear on the page!!

    <%@ Page Title="" Language="C#" MasterPageFile="~/YourGuruMaster.master" AutoEventWireup="true" CodeFile="PickTheBestAnswer.aspx.cs" Inherits="PickTheBestAnswer" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">

   <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:开发者_JAVA百科PlaceHolder>

<cc1:Rating ID="Rating1" runat="server"
    MaxRating="5"
        CurrentRating="2"
        CssClass="ratingStar"
        StarCssClass="ratingItem"
        WaitingStarCssClass="Saved"
        FilledStarCssClass="Filled"
        EmptyStarCssClass="Empty"
>
            </cc1:Rating>



    <asp:TextBox ID="TextBox1" runat="server" Height="71px" Width="231px"></asp:TextBox>



</asp:Content>


The namespace should be AjaxControlToolkit and not AjaxControlToolkit.HTMLEditor


If you are using Ajax Control Toolkit .NET 3.5 with Visual studio 2008, you must have installed Visual Studio Service Pack 1 . I think it is your issue. Follow instructions which are given bellow, refer the "Note" part in that.

http://ajaxcontroltoolkit.codeplex.com/releases/view/90063

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜