Using a custom server control declaratively in a user control

Discussion in 'ASP .Net Web Controls' started by SailinBum@gmail.com, Jun 29, 2006.

  1. Guest

    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
    , Jun 29, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UmljaGFyZCBCcm93bg==?=

    Set Custom Page properties declaratively

    =?Utf-8?B?UmljaGFyZCBCcm93bg==?=, Dec 2, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    411
    =?Utf-8?B?UmljaGFyZCBCcm93bg==?=
    Dec 2, 2005
  2. =?Utf-8?B?d2FsdGVy?=

    How to declaratively set page property in aspx file?

    =?Utf-8?B?d2FsdGVy?=, Mar 28, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    541
    =?Utf-8?B?d2FsdGVy?=
    Mar 29, 2006
  3. =?Utf-8?B?RGFiYmxlcg==?=

    datasource cannot be set declaratively

    =?Utf-8?B?RGFiYmxlcg==?=, Apr 3, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    3,112
    =?Utf-8?B?RGFiYmxlcg==?=
    Apr 3, 2006
  4. Maciek Zywno
    Replies:
    4
    Views:
    391
    Maciek Zywno
    Apr 30, 2004
  5. HP
    Replies:
    3
    Views:
    624
Loading...

Share This Page