Hope you all had a wonderful christmas celebration,so this is my first post after christmas where I had a good two weekend days.
Window.location = url
document.location = url
so what we do and how we get a page redirected within the same window instance ,okay here we go.
Consider you have a page called Main.aspx where you have hyper link or a button which you want open a page called ‘OpenmeinModal.aspx” where from inside the ‘OpenmeinModal.aspx” you want to redirect to a new page called ‘redirectmewithinsamewindow.aspx”. You achieve this using the below sample code all you need to do is create a frameset.