-2

How to open a web form to replace current tab instead of new tab? I am using the following code:

ProcessStartInfo sInfo = new ProcessStartInfo("http://localhost:51571/Login.aspx");
Process.Start(sInfo);
Xue Qian
  • 3
  • 3
  • You can't do this with `Process` class as far as i think, you should go for `WebBrowser` control for this purpose which really deals with webpages. – M. Adeel Khalid Mar 21 '17 at 03:51
  • A webbrowser is a control so the control has to be added to the tab. I'm not sure what you are exactly doing. I have my own project where I added multiple panels to a form and then added a webbrowser to each panel (in your case a tab control). You can use Navigate to your login page. See : http://stackoverflow.com/questions/14847656/get-the-final-generated-html-source-using-c-sharp-or-vb-net – jdweng Mar 21 '17 at 04:01

1 Answers1

0

You want to Navigate from One Web form to another? If that was the case You can use

Response.Redirect("Default.aspx") other wise provide more details about the question.