Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
2 Points
13 Posts
Jul 20, 2010 11:40 PM|LINK
Thanks Vimpyboy, I will try to write my own ViewEngine.
My second problem is with contents that come from database.
string html = GetHtmlFromDatabase(contentId);
bodyHolder.Controls.Add(new LiteralControl(html));
Is there an equivalent of this in the razor syntax?
CyberKral
Member
2 Points
13 Posts
Re: Render dynamic content
Jul 20, 2010 11:40 PM|LINK
Thanks Vimpyboy, I will try to write my own ViewEngine.
My second problem is with contents that come from database.
string html = GetHtmlFromDatabase(contentId);
bodyHolder.Controls.Add(new LiteralControl(html));
Is there an equivalent of this in the razor syntax?