Hi,
Once you had developed a classlibrary, let say example my
library is
Algem.WebControls.dll
In my client code I used to register it as example:
<%@ Page Language="C#" MasterPageFile="~/ui/mwic/MasterPage.master" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
<![CDATA[
Then in the body of my client code I use to call it as example:
<div style="float: right; padding-removed 16px;">
<alg:thumbviewer id="ThumbViewer2" runat="server" imageurl="~/mwic/images/cup.jpg" xmlns:alg="#unknown">
Title="Sample Image Cup" ThumbUrl="~/mwic/thumbs/cup.jpg" Height="75px" Width="90px"
ModalImagePadding="40px" />
</div>
Lastly I use to defined it in the Web.config as example:
<httphandlers>
<add verb="GET" path="ThumbHandler.ashx" type="Algem.WebControls.ThumbHandler" />
<remove verb="*" path="*.asmx" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</httphandlers>
Note that: If it is functioning will it could run as it expected.
You may also add reference to your library namespace if that library of yours is in your solution project.
Also you could use the debugger break point tag in your library code if that web site of your's is referencing
to it.
Hope this could help...
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Regards,
Algem