Reputation: 47743
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 completely 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.
Upvotes: 1
Views: 534
Reputation: 218877
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.
Upvotes: 1