I need to know whether is it possible to get the query string of parent page? I have something like this:
I have one page say client.aspx, now i have opened this page with query string and this page has one window and when i click on particular button window get pop’s up and in that i am loading another page say clientcontacts.aspx, i want query string of client.aspx on clientcontatcts.aspx.
Is it possible?
Has the child been opened as a popup window with window.open? If so, you can use:
to get the parent page (see http://www.w3schools.com/jsref/prop_win_opener.asp). Then you can use:
to get the query portion of the url (see http://www.w3schools.com/jsref/prop_loc_search.asp)