Where is the LoadUserControl function?

Topics: General
Feb 25, 2011 at 3:09 PM

Just downloaded the latest version of Composite C1, because i wanted to test how embedding Userc ontrols work.

According to this guide http://docs.composite.net/C1/ASP-NET/HelloWorldControl.aspx/Using-Web-User-Controls-in-C1, I  should have a function called LoadUserControl, but i can't see it nowhere.

I installed the Omnicorp demosite, maybe that's why it doens't show.

Pasting in the function markup in directly in the editor seems to work. but not very user friendly :-)

Regards
 Martin 

Coordinator
Feb 25, 2011 at 3:20 PM

When inserting functions from the visual editor you only get to choose functions that return XhtmlDocument - switch to source mode and insert your control from there. In the source editor you can insert any function.

Feb 25, 2011 at 3:23 PM

Ahh nice :-)

Maybe that should be in a tooltip or something.