English 中文(简体)
表格执行期间面临的问题
原标题:Issue facing during the implementation of CalendarExtender in asp.net

I used "calendar extender" by using some code but I am getting an error. I have included the Ajax-tollkit as well.

** 不可逆转信息:

Compiler Error Message: CS0012: The type System.Web.UI.ExtenderControl is defined in an assembly that is not referenced. You must add a reference to assembly System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 .

**MY Code:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Article_edit.ascx.cs" Inherits="Controls_Article_edit" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
 
<b>Date </b>&nbsp;
<asp:TextBox ID="Article_When" runat="server" Width="150"></asp:TextBox>
<cc1:CalendarExtender ID="ceCalendar" runat="server" PopupButtonID="ibtnCalendar" TargetControlID="Article_When">
</cc1:CalendarExtender>

我是参考部分,现在我面临以下错误:

需要在网页上安装一个版本的Manager,以便使用伙伴关系。 NET AJAX 部件成文。

NOTE:当我列入文字管理控制时,汇编者不承认这种控制有效。

我现在应该做些什么?

问题回答

加入系统。 Web.Extensions to You Project - Project rightclick -> Add reference.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签