开发者

Response.Redirect and IFrames

I have a Main.aspx page and a Sub.aspx page.

The Sub.aspx page resides in my Main.aspx page via IFrame. So the IFrame contains / loads the Sub.aspx

In another Third.aspx compl开发者_C百科etely unrelated I've got some code that needs to redirect back to Main.aspx but then there are some querystrings that need to be passed to Sub.aspx (or put antoher way my Sub.aspx needs to get those values from the Main.aspx).

My Sub.aspx will check for that querystring flag and if set, run x JS scripts.


Maybe pass the QueryString values to Main and, in its Page_Load, include them in the src for the iframe? You can use the iframe like a server control to do this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜