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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:32:00+00:00 2026-05-18T04:32:00+00:00

I am having a aspx page and it contains aspx controls.Is there any way

  • 0

I am having a aspx page and it contains aspx controls.Is there any way to use jquery ajax function to save some data.I need to get the values of the textbox.I am not prefering to pass all the values through querystring. Can u pls specify a method to implement here.Thnaks in advance.

  • 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-18T04:32:01+00:00Added an answer on May 18, 2026 at 4:32 am

    You’ll need a couple of things. First, you’ll need a web service in your ASP.NET application to “catch” your AJAX post. You can put this service method in your page, or you can make a new web service. If the service method will live in your page, it will look something like this:

    <WebMethod()> _
    <ServiceMethod(ResponseFormat:=[I forget the namespace].Json)> _
    Public Shared Function MyServiceMethod(ByVal property As String) As String
      'Do something
      'return something
      Return 1
    End Function
    

    Next, you’ll need to use jQuery to make an AJAX post to that web service method. Make sure you use the ClientID of the textbox from which you are grabbing the data you need to send. Also make sure you specify ‘POST’ as the method, and not ‘GET’ (which is the default). Something like this:

    $.ajax({
      url: 'MyPage.aspx/MyServiceMethod',
      type: 'POST',
      contentType: 'application/json',
      data: '{ property : $("#<%=txtMyTextBox.ClientID %>").val() }',
      dataType: 'json'
    });
    

    Here is the full jQuery AJAX documentation: http://api.jquery.com/jQuery.ajax/

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

Sidebar

Related Questions

I'm having this issue when trying to use an ASPX page from a referenced
This works: through jQuery I'm using a jQuery.ajax(..) call to a page e.g. Default.aspx/GetStatus
I am having a aspx page,in which there is a Select box control <select
I am having an issue embedding my report into an aspx page. Here's my
I am having some trouble with my code. Okay so I have an ASPx
I am having an issue when a page contains multiple ModalPopups each containing a
Ok: I've got an UpdatePanel on an aspx page that contains a single Placeholder.
I am having an aspx page with a user control in it. The usercontrol
I am having an aspx page with a panel. I am using the panel
I'm having a blast tracking down some heap corruption. I've enabled standard page heap

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.