how to get Status bar URL value
-
Hi friends, In my application from windows form i am going to open one URL in IE...in that web page[PAGE 1] after passing UserName & password it will redirect to other page[Page 2]....that page contain IFrames.... Now from that page i have to redirect to another page[PAGE 3]... but URL of Page 3 is different.. I mean to say if Page 2 URL is https://www.google.com Than Page 3 URL will be https://www.abcgoogle.com....but due to Iframe when i redirect from page 2 to page 3 address bar url will not change due to Iframe.... Now when i am on Page 2 when i mouse over on link button(which redirect me to third page)...at that time on status bar it is display this URL(https://www.abcgoogle.com) Now my problem is From page2 how can i get status bar value??? so finally i redirect to third page..... REgards, Hemant Patel.
-
Hi friends, In my application from windows form i am going to open one URL in IE...in that web page[PAGE 1] after passing UserName & password it will redirect to other page[Page 2]....that page contain IFrames.... Now from that page i have to redirect to another page[PAGE 3]... but URL of Page 3 is different.. I mean to say if Page 2 URL is https://www.google.com Than Page 3 URL will be https://www.abcgoogle.com....but due to Iframe when i redirect from page 2 to page 3 address bar url will not change due to Iframe.... Now when i am on Page 2 when i mouse over on link button(which redirect me to third page)...at that time on status bar it is display this URL(https://www.abcgoogle.com) Now my problem is From page2 how can i get status bar value??? so finally i redirect to third page..... REgards, Hemant Patel.
in javascript inside of IFrame use
window.parent.location.href = 'www.abcgoogle.com'
to redirect the page fully to the site. :thumbsup: Statusbar can also be found fromwindow.parent.status
from within the IFrame.Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like t