Hi,
Here is how I do it. In my HTML I have a javascript function for each
button in my nav menu:
function LoadNewPage() {
parent.document.getElementById("ifMain").src = "NewPage.aspx";
}
"ifMain" is the name of the frame where I'm loading the new page. Then in
the code behind of my nav IFrame aspx page I have this:
Button1.Attributes.Add("onclick", "LoadNewPage(); return false;")
Now when the user clicks Button1 in my nav IFrame the page in my main IFrame
will load the NewPage.aspx file. Good luck! Ken.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"sara" <sa**@discussions.microsoft.com> wrote in message
news:99**********************************@microsof t.com...
Hi to all
i want to load page on iFrame when i fire some events
any ideas??
thanks