Author: ingljo | Posted on: 7/18/2008 6:15:00 AM | Views : 349

Hi,
I have created a set of generic UserControls that i plan to use in various websites.
From the article http://msdn.microsoft.com/en-us/library/aa479318.aspx it looks like it is possible to compile the user-controls into a re-usable custom controls and add them as dll-libraries in my other web-sites.
But when i try to test a user-control by the design mentioned in the article, I get null-ponter exceptions.
Have anyone done this before, and is this a design-pattern that is normal to use, or should I re-write the code to ServerControls?
Web.config:<pages>
<controls>
<add tagPrefix="uc" namespace="TestUserControls" assembly="TestUserControls"/>
</controls>
</pages> Default.aspx:

 Go to the complete details ...