Toolkit 3.0.30512 with ASP prefix

Last post 07-10-2009 11:34 PM by b471code3. 3 replies.

Sort Posts:

  • Toolkit 3.0.30512 with ASP prefix

    07-09-2009, 4:28 PM
    • Member
      712 point Member
    • TCavins
    • Member since 05-23-2007, 2:06 PM
    • Detroit, MI
    • Posts 186

    What do I have to change in my web.config in order to have the new toolkit use the ASP prefix?

    I currently have this:

    <controls>
            <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          </controls>

     

    I tried changing the Version and PublicKeyToken but that did not work. I may have had the wrong values when I tried it.

     

    Thanks,

    Tim

     

  • Re: Toolkit 3.0.30512 with ASP prefix

    07-09-2009, 10:53 PM
    • Contributor
      5,235 point Contributor
    • b471code3
    • Member since 02-27-2007, 12:44 PM
    • SE Minnesota
    • Posts 1,062

     I believe you would have to do this when you add the reference at the top of your aspx page.

    <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
    


     

    View Brenden Kehren's LinkedIn profileView my profile
    Remember to mark as answer if this post answered your question or solved your problem.
  • Re: Toolkit 3.0.30512 with ASP prefix

    07-10-2009, 7:45 AM
    • Member
      712 point Member
    • TCavins
    • Member since 05-23-2007, 2:06 PM
    • Detroit, MI
    • Posts 186

    There's a way to do this globally through your web.config file and I can't seem to get it to work.

      

  • Re: Toolkit 3.0.30512 with ASP prefix

    07-10-2009, 11:34 PM
    Answer
    • Contributor
      5,235 point Contributor
    • b471code3
    • Member since 02-27-2007, 12:44 PM
    • SE Minnesota
    • Posts 1,062

     You're right.  Try adding these then and see if it works for you.

     

    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add tagPrefix="asp" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/>


     

    View Brenden Kehren's LinkedIn profileView my profile
    Remember to mark as answer if this post answered your question or solved your problem.
Page 1 of 1 (4 items)