By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 985 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

please help...

P: 65
Hi,

Im currently using the following code:

Code for Div

<div id="myBody" runat="server"></div>

Code to Invoke Html File

myBody.InnerHtml = System.IO.File.ReadAllText(Server.MapPath(homepage url)); // where homepageurl id the html file path taken from the dB.

But now i actually want to point the homepageurl to the an aspx page..
Will it work?

I tried but im using many elements which are made visible using certain conditions in the code behind.. So its not actually rendering properly..

So is there any solution?
Thanks
Apr 24 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.