Tags: ajax, ajaxcontroltoolkit, aspnet, assembly, config, following, heard, include, itags, ive, net, net-ajax, org, regions, register, releases, web, webconfig

AjaxControlToolkit, @Register Assembly, and web.config

On .Net » ASP.NET AJAX

3,648 words with 1 Comments; publish: Sun, 06 Jan 2008 09:00:00 GMT; (10054.69, « »)

I have added the following two regions to my web.config as I've heard doing so releases you from having to include <%.net-ajax.itags.org. Register Assembly=... %> to every page.

My site compiles, and runs just fine. But intellisense doesn't work and all the ajaxToolkit controls are marked as unknown elements.

Any ideas?

<controls>

<addtagPrefix="ajaxToolkit"namespace="AjaxControlToolkit"assembly="AjaxControlToolkit, Version=1.0.10920.16768, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

</controls>

<assemblies>

<addassembly="AjaxControlToolkit, Version=1.0.10920.16768, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

</assemblies>

All Comments

Leave a comment...

  • 1 Comments
    • Hi whatispunk,

      I do the same, but it works with me!

      My toolkit dll is in my application's bin folder.

      One difference, I don't define my dll so explicitly

      I do it like this (but I'm not sure this is causing the problem.)

      <compilation debug="true" strict="false" explicit="true"><assemblies>...<add assembly="AjaxControlToolkit"/></assemblies></compilation><pages>...<controls><add assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagPrefix="cc1" /></controls></pages>

      I have intellicense in the pages etc. Try to do a rebuild of the site. And wait a moment for the dev. Environment to figure everything out.

      Kind regards,

      Wim

      #1; Sun, 06 Jan 2008 09:01:00 GMT