Home All Groups Group Topic Archive Search About

Using a custom server control declaratively in a user control

Author
29 Jun 2006 4:32 AM
SailinBum
Hey there,

I'm trying to get the custom EmptyGridView from
http://www.dotnetslackers.com/GridView/re-27953_Displaying_GridView_When_No_Data_Exists.aspx
to work in a user control, but the @Register tag doesn't seem to be
working.  The documentation on MSDN (
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconRegister.asp
) claims that the @Register tag should work in a page or in a user
control, but the later doesn't seem to work for me.  Is this a bug or
am I doing something stupid?  (It works fine when declared in a page
within the same project as the user control.)

TIA,
M

Bookmark and Share