locked
Problem registering ascx dll RRS feed

  • Question

  • User-1044960602 posted

    Hi,

    Im having a problem when trying to  register the DLL, I have followed this article http://msdn.microsoft.com/en-us/library/aa479318.aspx, it says there that you have to put a namespace right, but in my website I dont see anywhere the namespace.. so I dont put that when registering the dll, but still doesnt work, I get "this control cannot be displayed because it TagPrefix is not registered in the Web Form".  so I dont know if this problem is because Im missing the namespace directive...im doing it like this:

     
    <%@Register TagPrefix="uc1" Assembly="App_Web_mymessagebox.ascx.cc671b29.dll"%>
     
    Monday, June 22, 2009 4:48 PM

Answers

  • User-1044960602 posted

    Hi, it seems like the default namespace would be asp, but you can overwrite it by using the directive Classname on the @Control

    Thanks Brandon

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 23, 2009 6:53 PM

All replies

  • User804946440 posted

     You should be able to run that dll through reflector to see what namespace it's in.  http://www.red-gate.com/products/reflector/

     Hope that helps!

    Monday, June 22, 2009 6:58 PM
  • User-1044960602 posted

    Hi, it seems like the default namespace would be asp, but you can overwrite it by using the directive Classname on the @Control

    Thanks Brandon

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 23, 2009 6:53 PM