Normally, that's how I'd do it, but because the code is inline, all that goes out the window. There is no /bin folder in this case, and there is no pre-compiled *.dll of my page, which would then reference the datepicker.dll via namespace only. It seems like most of the other directive have to do with referencing "user controls" (ascx pages) as opposed to "server controls" (*.dll's).
There must be a way to do it, and I have a feeling that the web.config might come into play here, but I just can't find the right info to accomplish it.
Main Topics
Browse All Topics





by: samtran0331Posted on 2007-11-12 at 06:06:38ID: 20263965
place the dll in the \bin folder meSpace" %>
if you're using visual studio, add a reference to the dll by right-clicking on the highest node in the solution explorer and "Add Reference" or use the "Web Site" menu at the top of VS.
on the page, add an import statement to the datepicker namespace (should be in the documentation)
<%@ Import Namespace="TheDatePickerNa
If you're using VS, then right-click in the toolbox and "Add item" and browse to the dll, once it's in your toolbox, if you drag it onto your webform, it should create the correct <@Register tag for you...else there should be some documentation on the datepicker's web site on how to use it in your app...