Source of a frameset at run time...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all !
I need a help... I have a html page, with a frameset in it... in the
"banner", I have some buttons inside a repeater control.. when I click any
button, I need to change the source of the one of the frames of the
frameset...
I try to do:
private void rpt_ItemCommand(object source, RepeaterCommandEventArgs e)
{
if (e.CommandSource is Button)
{
//put any source in the other frame..
}
}

anybody can help me?

TIA, Yuki !
 
ASP.NET does not know about the other frames. When a postback happens, it
only sends the current page back to the server, not the frameset page.
Therefore, the only way to manipulate the other frames would be to send
JavaScript commands back from the server that target one of the other
frames.
 
Back
Top