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 webform and i want to detect if F5 button was pressed
I have a master page with a content control. I want it to do
my structure is like this: master page aspx(web form) ascx(user control) I have a
I use webforms/masterpage, with .NET. I Have many Web User Controls into my page.
I have a webform with a custom calidator function. in the form is a
I have a webform with a PayPal donate button. How do I setup so
I have a standalone webform (no masterpage) that opens in a div from another
I have a page setup like so: <ajax:UpdatePanel id=UpdatePanel1 runat=server UpdateMode=Conditional> <ContentTemplate> <asp:TextBox id=TextBox1
I've got a page where I have a ModalPopUpExtender which I want to show
I have an ASP .Net page with a radio button group and a text

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.