Using a custom server control declaratively in a user control

S

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top