Reputation: 18963
I have one iframe that holds 4 menu tabs. On 1st menu tab, on the click of link button i wish to redirect to second menu tab of iframe.
The iframe is included in one of the content page of the master page. FYI, i am using an update panel on gridview (where link button is one of the template field)
My Question: How to redirect to parent iframe (that too second tab)
Thanks!
Upvotes: 0
Views: 466
Reputation: 78520
location.href = top.location.href;
That will set the current frame to its parent's url
Upvotes: 1