Hi - I have created a Macro that uses a .NET server control. It seems to work adding it to Umbraco Macros (I can browse and select the control's properties, etc). However, when I include the control, either within a template or within the richtext editor, I get the error message:
Not sure if this will help, but at this point, any pointers may do? Have you tried wrapping the .net server control in a custom control and referencing that user control from your macro?
Debugging 'Error loading customControl ...'
Hi - I have created a Macro that uses a .NET server control. It seems to work adding it to Umbraco Macros (I can browse and select the control's properties, etc). However, when I include the control, either within a template or within the richtext editor, I get the error message:
Error loading customControl (Assembly: My,Assembly, Type: 'My.Control.Type'
Is there a way to identify what the error is, so that I can attempt to resolve it?
Regards
Lee
Hi Lee,
Not sure if this will help, but at this point, any pointers may do? Have you tried wrapping the .net server control in a custom control and referencing that user control from your macro?
Cheers,
/Dirk
custom control = user control -> Have you tried wrapping the .net server control in a user control and referencing that user control from your macro?
/Dirk
Hi Dirk
Yes I have, and when I use the user control (.ascx) in a standard asp.net web page, it works fine. When I try to use it in Umbraco, I get an error :(
Lee
Try to have a look at the trace by adding "?umbDebugShowTrace=true" to the current URL, or "?umbDebug=true".
That should help debugging a little!
Thanks Sebastiaan - I'll try that!
is working on a reply...