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

  • Home
  • SEARCH
  • 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 7753197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:59:41+00:00 2026-06-01T11:59:41+00:00

I created an .asmx web service which i call via Ajax. i used the

  • 0

I created an .asmx web service which i call via Ajax. i used the following code

Node iLike = Node.GetCurrent().Parent as Node;
       Property Subject = iLike.GetProperty("emailToAdminSubject") as Property;
       Property BodyText = iLike.GetProperty("fbEmailToAdmin") as Property;

but Node.GetCurrent() returning a null. is there any way to get current node in an asmx Web service ?

  • 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-01T11:59:42+00:00Added an answer on June 1, 2026 at 11:59 am

    Node.GetCurrent() won’t work in the context of a web service. (See this forum topic.) You could pass the current node’s Id to the web service with your ajax call and then use…

    Node iLike = new Node(id).Parent;
    

    …from there.

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

Sidebar

Related Questions

I have created a ASMX Web Service which does some Active Directory stuff behind
I have created simple .NET Web Service (ASMX) that I call from my .NET
I've created one web service which is of asmx type. And I'm using my
Is there a way to prevent the UpdateListItems() web service call in SharePoint's Lists.asmx
I need to create web service (.NET) which will be used by other system.
I have created a web service in .net which will retrieve the city name
We have created a .NET 4 web service, which runs fine on a Windows
Im trying to create an ASMX Web Service in Visual Web Developer.I have successfully
I've create a regular old ASMX web service in ASP.NET and added SoapDocumentMethod(OneWay =
I want to use jQuery to make a call to a c# web service

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.