Wednesday, March 21, 2012

errors with the control toolkit

I just downloaded the ajax extensions, and toolkit, but everytime I add an item from the toolkit to my web form I get an error in the designer file.

It generates code in the designer.vb file like

but I get an error that says:

ProtectedWithEvents RoundedCornersExtender1As AjaxControlToolkit.RoundedCornersExtender

Type 'AjaxControlToolkit.RoundedCornersExtender' is not defined.

I also get an error from my web.config file that says:

Could not load type 'System.Web.UI.Compatibility.CompareValidator' from assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

pointing to the line:

<add tagType="System.Web.UI.WebControls.CompareValidator" mappedTagType="System.Web.UI.Compatibility.CompareValidator, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

does anyone have any idea what I'm doing wrong, or how I can fix this?

thanks,

smtraber

This post may help youhttp://weblogs.asp.net/scottgu/archive/2007/01/25/links-to-asp-net-ajax-1-0-resources-and-answers-to-some-common-questions.aspx (look down a little bit for the stuff on validators)

No comments:

Post a Comment