I have 2 different client webpart, A and B
client webpart A at page 1 and client webpart B at page 2..
client webpart A have action to redirect host page to page 2 (which is client webpart B), with certain url parameter that client webpart B needed..
Is there any solution of better alternative ?
note : for visual webpart it gonna be easy, but since client webpart use iframe, I still haven't get any clue to do this..
Update :
Ok, redirect host page from iframe is pretty simple https://stackoverflow.com/questions/2092275/redirect-the-parent-page-from-iframe
But I still didn't now to get URL parameter from client webpart host URL
Update #2 :
from here http://social.msdn.microsoft.com/Forums/en-US/956d92fb-e0b3-4f32-9dae-c5ba5948949b/get-host-page-url-in-app-part, i learn that it is impossible to get host URL from client webpart.
but is it possible when first rendering of iframe, parent URL also pass its parameter to client webpart, like Facebook app : https://stackoverflow.com/questions/3175300/facebook-iframe-application-how-to-pass-data-from-url-query-string