How to change the Html file referred inside a div on server side using C#?
I have div inside which contactUsFAQ.html is i开发者_运维问答ncluded.
<div id="divContactUsFAQ" runat="server" >
<!--#include virtual="../HTML/ContactUsFAQ.html" -->
</div>
I need to include ContactIRP.html file and remove ContactUsFAQ.html on server side.
you can access the div as divContactUsFAQ from CodeBehind and it has .InnerHTML property containing <!--#include virtual="../HTML/ContactUsFAQ.html" --> - you can just assign what you need to .InnerHTML.
加载中,请稍侯......
精彩评论