Can I add <% @Register TagPrefix.....%> by code using IToolboxUser?

Discussion in 'ASP .Net Web Controls' started by Luis Ramírez, May 21, 2004.

  1. Hello,
    I would like to know if can I emulate what visual studio does when I drop
    a custom webcontrol from the toolbox. VS automatically add the <% @Register
    TagPrefix=".....%>.

    I found that VS calls IToolboxUser.ToolPicked in order to do this. However
    when I call this method nothings happen and when I call
    IToolboxUser.GetToolSupported always returns false.

    I would like to know if what I trying to do is possible?

    Any help will be appreciated.

    Luis Ramírez.
    Luis Ramírez, May 21, 2004
    #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. Kristoffer Arfvidson

    Register TagPrefix ?? really a good idea?

    Kristoffer Arfvidson, Jan 23, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    5,402
    Kristoffer Arfvidson
    Jan 24, 2004
  2. =?Utf-8?B?TWljaGFlbCBTa2VsdG9u?=

    Can't get TagPrefix to work for custom Web control

    =?Utf-8?B?TWljaGFlbCBTa2VsdG9u?=, Feb 12, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,069
    Ben Miller [MSFT]
    Feb 14, 2004
  3. Michael Tissington

    Conversion Problem ... Register TagPrefix

    Michael Tissington, Dec 1, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,960
    Steven Cheng[MSFT]
    Dec 2, 2005
  4. Shan McArthur
    Replies:
    2
    Views:
    175
    Michael Baltic
    Jun 30, 2005
  5. Jydebjerg

    Register tagprefix for entire application/globally

    Jydebjerg, Feb 4, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    123
    Jydebjerg
    Feb 4, 2004
Loading...

Share This Page