I did something similar recently with Ifame, but this should not matter here.
try the following:
declare the fame as running at server:
<frame ... runat="Server" id="contentsFrame">
//in code behind declare
protected System.Web.UI.HtmlControls.HtmlGenericControl contentsFrame;
//button click event handler
Button_Click_Handler(Object sender,...)
{
contentsFrame.Attributes["src"] = "....some url....";
}
HTH
Michał
"finekey" wrote:
I build a webpage with two frames(contents and main), I build a aspx in main
frame, which has a Button webcontrol,
the problem is that :how can I change webpage in contents frame when the
Button_click event is active?
thanks