25 Mar 2005, 3:06
|
Dmitry
Joined on 03-24-2005
Posts 2
|
|
hi Mike, change the
scr
attribute for the appropriate frame. If you use ASP.NET - you want to call RegisterStartupScript when user got logged and do something like that within your script block:
//
window.parent.document.getElementById('myFrameId').
scr
= 'RedirectTarget.aspx';
please, mind that this purely a concept. you have to secure that redirect (I would create a session var, confirming, that the user passed authorization.
cheers,
Dmitry
P.S. generally Frames is a source of the hassle (due to their 'asynchronizm' :-), so I agree wih Roshal - IFrames would be a better solution. Or you may create a kind of templated control, which will allow to change contents, keeping general GUI organization the same.
|
|
|
|
|
|
|
|