how to make a back and forward button in visual studio express 2012 for a webbrowser
-
Thursday, February 07, 2013 8:42 PMcould some one tell my how to do this using visual c#
- Moved by Amanda ZhuMicrosoft Contingent Staff Friday, February 08, 2013 8:21 AM
All Replies
-
Friday, February 08, 2013 8:21 AM
Hello Sticky,
I have moved this thread to Visual C# forum for better response.
Best regards,
Amanda Zhu [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Friday, February 08, 2013 9:27 AM
Your question is not very clear.
Are you looking forward for a button in your web application to move back and forward?
If this is the case, you can use simple anchors to perform this action, below is the example:
<a onClick="history.go(-1)"> Back </a> <a onClick="history.go(1)"> Forward </a>
Hope this helps.
Rajat.
------------------
Whenever you see a reply and if you think is helpful, click "
Vote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "
Mark As Answer".
-
Sunday, February 10, 2013 5:50 AM
this may help you
http://support.microsoft.com/kb/330280?wa=wsignin1.0
thanks and regard love4csharp
- Marked As Answer by Jason Dot WangMicrosoft Contingent Staff, Moderator Friday, February 15, 2013 7:21 AM
-
Monday, February 11, 2013 8:17 AM
Hi,
Use a WebBrowser Control for C# Windows Application.
System.Windows.Forms.WebBrowser
NavigationBack & NavigationForward is a two button, You can put this top of the WebBrowser control to Look & Feel like Back & Forward button. And within the click event you can put bellow code.
private void NavigationBack_Click(object sender, EventArgs e) { webBrowser1.GoBack(); }private void NavigationForward_Click(object sender, EventArgs e) { webBrowser1.GoForward(); }
Happy Coding
Thanks
Knight Data Access Layer - .NET ORM, LINQ Provider, and more https://www.kellermansoftware.com/p-47-net-data-access-layer.aspx
- Edited by radcorpindia Monday, February 11, 2013 8:18 AM
- Marked As Answer by Jason Dot WangMicrosoft Contingent Staff, Moderator Friday, February 15, 2013 7:21 AM

