[Mono-list] ASP.NET: Strange problem with UserControls not being found

Christian Prochnow cproch at seculogix.de
Mon Dec 15 09:36:41 EST 2008


Hi,

i've a strange problem where the type of a control in an registered assembly
is not being found.
Weird is that some controls defined in the assembly are found, and some not.

Parser Error

Description: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error.

Parser Error Message: Type not found.
Source Error:
Line 45:                     <ho24:AuthorizedPanel runat="server"
CssClass="box">

Web.config contains:

<pages>
    <controls>
        <add tagPrefix="ho24" namespace="Interaid.HeizOel24.Web"
assembly="Interaid.HeizOel24.Web"/>
    </controls>
</pages>

The assembly contains following classes:
    public class AuthorizedPanel : Panel
    public class Form : HtmlForm

The tag "ho24:Form" is correctly processed, but "ho24:AuthorizedPanel" gives
the error above.
Using M$ ASP.NET given no compilation error.


Does anyone have an idea ?


Thanks in advance,

Christian Prochnow

-- 
View this message in context: http://www.nabble.com/ASP.NET%3A-Strange-problem-with-UserControls-not-being-found-tp21014892p21014892.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list