开发者

How to add ajax control in the project

开发者 https://www.devze.com 2023-03-31 12:14 出处:网络
I am using asp.net using C#.I want to add Ajax Control to my Web Pages.I am using visual stud开发者_如何学JAVAio 2005.That had ajax basic control not extended control and bin folder contain ajax contr

I am using asp.net using C#.I want to add Ajax Control to my Web Pages.I am using visual stud开发者_如何学JAVAio 2005.That had ajax basic control not extended control and bin folder contain ajax controltoolkit.dll.But when I am adding control to my page,it shows the unknown elements.I add references and select that file(dll).Still the assembly details is not coming in my aspx page.And still saying unknown element.I have another project also.In that I done same ,and it works also.


You'll need to edit your web.config

<add assembly="AjaxControlToolkit, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

Goes between

<assemblies></assemblies>

tag.

<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

Goes between

 <controls></controls> 

tag.

0

精彩评论

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