Connecting Tech Pros Worldwide Help | Site Map

Tooltipextender problem in aspnet ajax with other ajaxcontroltoolkit controls

Newbie
 
Join Date: Sep 2009
Posts: 5
#1: 2 Weeks Ago
I'm using Tooltipextender control in ajaxcontroltoolkit. When I try to use other controls of Ajaxcontroltoolkit, the following error occurs.

"Error 4 Could not load file or assembly 'AjaxControlToolkit, Version=1.0.10920.32880, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

My Code is as follows:
Expand|Select|Wrap|Line Numbers
  1.  
  2. <cc1:Editor ID="Editor1" runat="server" />
  3. <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
  4. <tt:TooltipExtender 
  5. id="TooltipExtender5" 
  6. TargetControlID="TextBox1" 
  7. runat="server"
  8. Delay="1"
  9. Direction="right"
  10. TooltipWidth="300">
  11. <TooltipTemplate>                                                
  12. I Love India.<br />
  13. I Love India.<br />
  14. </TooltipTemplate>
  15. </tt:TooltipExtender>


How to rectify this error..
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#2: 2 Weeks Ago

re: Tooltipextender problem in aspnet ajax with other ajaxcontroltoolkit controls


You have to make sure that the AjaxControlToolkit is installed (exists) on the computer hosting the web application or website.

You also have to make sure that the web application (or website) is configured properly to use it. The web application has to reference the AjaxControlToolkit.DLL so that it can use it. When you add a reference to this DLL your web.config file should be updated properly so that it references the resource.

-Frinny
Reply

Tags
aspnet-ajaxcontroltoolkit