Posted on: 11/11/2014 8:06:13 PM | Views : 436

I have a web form that I'm trying to customize by including a custom html file in the middle of it.  The custom html file has server script in it.
When I include the code:  <!--#include file="MyCustomization.htm"--> in my web form's HTML it loads just fine.
When I try to load the HTML file via a Placeholder in C# the HTML doesn't load.  Here's my C# code:        Placeholder.Controls.Add(new LiteralControl("<!--#include file=\"MyCustomization.htm\"-->")); This is happening in the Page_Load event.  I've tried it in the Pre_Render event and it still doesn't load.
Go to the complete details ...