Custom Controls!!!

  • Thread starter Thread starter Vai2000
  • Start date Start date
V

Vai2000

Hi All, I have a custom validator control for checkboxlist validation. I
want to use this control in my project without compiling into a DLL?
I have moved the source Code in App_Code folder but its not working

BTW it works if u compile the Class into a DLL and then register it using
page directives on the page u wanna use on....and

TIA
 
Howdy,

no probs:

<%@ Register TagPrefix="uc1" Namespace="Test" Assembly="__code" %>

add a namespace to your custom control. (it should even work without
assembly="__code" attribute)

Hope this helps
 
Back
Top