IFrame

Mar 31 2009 2:24 PM
Hi All,

I'm developing a web application and I want to have iframe in one of my web page. In there I need to load different pages into existing page. This changes could able to be done using a button click.
Simply when I click on a button I could be able to change the current page contain. This contain should be in a frame and other controls like buttons should be static.

I found below code but I cant change this src value using a button click.

 <form id="form1" runat="server">
    <div>
    <iframe id="iFrame" src="Default.aspx" runat="server" />
    </iframe>
    </div>
    </form>

I would be pleasure if anyone can help me to do this.

Thanks,
Charith

Answers (1)