I am using a master page…
Then there is an .aspx that uses this masterpage..
what i want to use is the ajax NumericUpDownExtender but i am getting an error from the start when i put this in my masterpage
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
The error message i get is
Parser Error Message: Could not load file or assembly ‘AjaxControlToolkit’ or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Line 4:
Line 5: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
Line 6: <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Line 7: Namespace="System.Web.UI" TagPrefix="asp" %>
Source File: /Site1.Master Line: 5
Assembly Load Trace: The following
information can be helpful to
determine why the assembly
‘AjaxControlToolkit’ could not be
loaded.WRN: Assembly binding logging is
turned OFF. To enable assembly bind
failure logging, set the registry
value
[HKLM\Software\Microsoft\Fusion!EnableLog]
(DWORD) to 1. Note: There is some
performance penalty associated with
assembly bind failure logging. To turn
this feature off, remove the registry
value
[HKLM\Software\Microsoft\Fusion!EnableLog].
You need to have the correct version of the AjaxControlToolkit DLL.
And, it needs to be in your app’s bin folder (or the GAC).
Here’s a quick explanation of how to set this up, setp by step.