Hey
I have this - where Test is a standard, vanilla, ascx web user control.
Test t = new GlobalApplication().Container.Resolve<Test>("test");
StringWriter sw = new StringWriter();
HtmlTextWriter htw = new HtmlTextWriter(sw);
t.RenderControl(htw);
I wanted to use this inside a monorails nVelocity view. It won't work
because WebUserControlComponentActivator needs a page in the context to
do its thang.
Any ideas on how to make this work using views? It works fine on a page.
:)
w://
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---