Friday, May 9, 2014

Working with Iframes

Working with I Frames.

Design the Form as shown Below

Default.aspx
<div>
<iframe  id="frame1" runat="server"width="400"height="400"></iframe>

</div>


Default.aspx.cs

protected void Page_Load(object sender, EventArgse)
{
frame1.Attributes["src"] = "http://www.w3cschools.com";
}


Output:



No comments:

Post a Comment

Thank you for visiting my blog

Python -3

  Lists It is used to store Collection of data. Lists are created using square brackets: List Items Order cannot be changed. It can have dup...