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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:11:13+00:00 2026-05-10T22:11:13+00:00

I have the following JQuery code that worked perfect in C#/Asp.net 2.0 to call

  • 0

I have the following JQuery code that worked perfect in C#/Asp.net 2.0 to call a page method in the default.aspx page. Now I am trying to call a shared page method in VB.Net and the page method is not firing, I believe because of security or it is not finding it.

The page that this shared vb method is in doesn’t allow anonymous access, so I was thinking that is the problem or it is a path problem to finding the method. I am just guessing here. In my C# test app the static webmethod was in the default.aspx page with no security. Thanks for any advice or help!

$.ajax({                 type: 'POST',                 url: 'Orders.aspx/GetMailPieceGroupsByAdFundTypeId',                 data: myDataToSend,                 contentType: 'application/json; charset=utf-8',                 dataType: 'json',                  //error: function(XMLHttpRequest, textStatus, errorThrown) {alert(errorThrown); this;},                 success: function(data, textStatus){alert(success);mailPieceGroups = eval('(' + data + ')'); startSlideShow(mailPieceGroups); }             }); 
  • 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. 2026-05-10T22:11:14+00:00Added an answer on May 10, 2026 at 10:11 pm

    My issue was the path provided was not correct which caused the .ajax call not to be able to locate the method to call it. This is correct for my scenario:

    url: ‘../Orders.aspx/GetMailPieceGroupsByAdFundTypeId’,

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

Sidebar

Related Questions

I am begging to use jquery. I have the following call that works in
I have ASP.Net code similar to the following (this is inside a FIELDSET): <ol>
hi i have a function that worked fine using jQuery 1.3.2 but now i
I have the following jQuery code that detects if a user has clicked a
Hi I have the following jQuery code that splits some content after the second
i have the following jquery code. basically i will have several overlapped divs and
I have the following JQuery code which does similar functionality like Stackoverflow where the
Let's say I have the following jQuery AJAX call: $.ajax({ type: POST, url: MyUrl,
I have the following js files in my code for EditInPlace... <?php echo $javascript->link('jquery.js');?>
I have been using the following code (with jQuery v1.4.2) to set the 'selected'

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.