Try this.
Write this code on ASPX
<div runat="server" id="Iframe">
</div>
Write this code on ASPX.CS
using System.Text; // Import namespace
StringBuilder sb = new StringBuilder();
sb.Append("<frameset cols='25%,75%'> ");
sb.Append("<iframe name='frame1' src='" + URL + "'> "); // Set your Custom URL
sb.Append("<iframe name='frame2' src='http://www.yahoo.com'> ");
sb.Append("</frameset> ");
Iframe.InnerHtml = sb.ToString();
Kondapallisrinivas, if this helps please login to Mark As Answer. |
Reply | Alert Moderator