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 3964582
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:21:06+00:00 2026-05-20T03:21:06+00:00

I have a Webform with masterpage(where the form tag is). Inside the content page

  • 0

I have a Webform with masterpage(where the form tag is). Inside the content page I have a textbox and a submit button. I want to send the data to the next page using GET not POST. How can I do this?

  • 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-05-20T03:21:07+00:00Added an answer on May 20, 2026 at 3:21 am

    If it can apply to all pages:

    <form method="get" ... >
        <!-- content here -->
    </form>
    

    If you want only for a single, simple page:

    protected void Submit_Click(object sender, EventArgs e)
    {
        string url = "NextPage.aspx?";
        url = url + "&MyTxt1=" + MyTxt1.Text;
        url = url + "&MyTxt2=" + MyTxt2.Text;
        url = url + "&MyTxt3=" + MyTxt3.Text;
        // etc.
        Response.Redirect(url);
    }
    

    If you want to control the method from the content page:

    // on the master page
    public class SiteMaster : System.Web.UI.MasterPage
    {
        // replace form1 with the id of your form control
        // make sure the form tag has runat="server"
        public string Method
        {
            get { return form1.Method; }
            set { form1.Method = value; }
        }
        // ...
    }
    
    // on the content page
    protected void Page_Load(object sender, EventArgs e)
    {
        // replace SiteMaster with class type of the master class
        ((SiteMaster)this.Master).Method = "get";
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple webform which have few text fields,leabels and Submit button. When
I have an button in my Jquery mobile page, which is using asp.net webform.
I have the following webform: <%@ Page Language=C# AutoEventWireup=true CodeBehind=Default.aspx.cs Inherits=TestWebApp.Default %> <!DOCTYPE html
On my C# asp.net webform I have a search page that has roughly 20
I have a web form that binds a DataGrid to a, normally, different data
Say you have a web form with some fields that you want to validate
Today I realized that I no longer have a Web Content Form option (where
I have an asp:UpdatePanel with an asp:Timer. These are in a Master/Content Page. The
I have the following webform with textboxes that are pre-populated on page load: <%@
I have a login.jsp page which contains a login form. Once logged in the

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.