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. Advertisements

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. Leeor Chernov
    Replies:
    2
    Views:
    961
    Leeor Chernov
    Oct 16, 2005
  2. =?Utf-8?B?UmljaGFyZCBCcm93bg==?=

    Set Custom Page properties declaratively

    =?Utf-8?B?UmljaGFyZCBCcm93bg==?=, Dec 2, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    528
    =?Utf-8?B?UmljaGFyZCBCcm93bg==?=
    Dec 2, 2005
  3. HP
    Replies:
    3
    Views:
    764
  4. RichB
    Replies:
    3
    Views:
    345
    oogity
    Sep 22, 2008
  5. Matt Sokol
    Replies:
    2
    Views:
    629
    Theo Tillotson
    Aug 7, 2003
  6. John Rebbeck

    Custom Server Control works on page but not User Control...why?

    John Rebbeck, Sep 16, 2003, in forum: ASP .Net Building Controls
    Replies:
    3
    Views:
    359
    John Rebbeck
    Sep 17, 2003
  7. Faizan Ahmed
    Replies:
    1
    Views:
    503
    John Saunders
    Jan 4, 2005
  8. Faizan Ahmed
    Replies:
    1
    Views:
    534
    John Saunders
    Jan 4, 2005
Loading...