Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9001301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:25:06+00:00 2026-06-16T00:25:06+00:00

I am displaying a specific webpage on a browser control and not allowing them

  • 0

I am displaying a specific webpage on a browser control and not allowing them to browse to any other page.

When the user clicks the submit button to go to the next page I need to grab the post data and then display the page.

I’ve not used the browser control before so I need to get this information then display the page.

My web page is displaying without any problems but I’m not sure how to grab the post data after they click submit.

Here is my form so far…

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ssscc
{
  public partial class GatewayNavigation : Form
  {
    public Size WindowSize { set; get; }

    public GatewayNavigation()
    {
      InitializeComponent();
      InitializeEvents();
      Size = GatewayNavigationFormSettings.FormSize;
    }

    private void InitializeEvents()
    {
      Load += GatewayNavigationLoad;
      webBrowser_Gateway.DocumentCompleted += WebBrowserGatewayDocumentCompleted;
      webBrowser_Gateway.ProgressChanged += WebBrowserGatewayProgressChanged;
    }

    void WebBrowserGatewayProgressChanged(object sender, WebBrowserProgressChangedEventArgs e)
    {
      if (e.MaximumProgress > 0)
      {
        int prog = (int)(100 * e.CurrentProgress / e.MaximumProgress);
        if (prog > 99)
        {
          prog = 100;
        }
        progressBar1.Value = prog;
      }
    }

    void WebBrowserGatewayDocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
    {
      progressBar1.Visible = false;
    }

    private void GatewayNavigationLoad(object sender, EventArgs e)
    {
      webBrowser_Gateway.AllowNavigation = false;
      webBrowser_Gateway.AllowWebBrowserDrop = false;
      webBrowser_Gateway.Navigate(UrlBuild.FullUrl);
    }
  }
}

Anyone have any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:25:07+00:00Added an answer on June 16, 2026 at 12:25 am

    Handle the WebBrowser.Navigating event and check WebBrowserNavigatingEventArgs.Url.

    EDIT: my apologies, my answer was misleading. You can’t extract POST parameters from that. I’ve done a little research and found this question, which I hope to be helpful to solve the problem. I have tried the example using the dynamic keyword but it didn’t seem to work for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

actually i am displaying a pop up with ok cancel button when user clicks
I currently have a navigation bar displaying all the children of that specific page
Possible Duplicate: Displaying the OS name/version and the browser name/version on the page? Does
When displaying all articles of a specific month (given through the urls like this
Displaying Type here to ... until the user enters text into a TextBox is
When displaying a group of JRadioButtons, initially none of them is selected (unless you
I am displaying the iframe in wordpress page template. In iframe src i have
I'm displaying a webpage (html) kept in my assets folder using a webView .
Looking to pull the category ID of a specific page in WordPress that is
It there any way of displaying videos on a website that would allow me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.