Working with Umbraco Node factory in ajax webservice
I have created an .asmx web service that 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 () returns null. is there a way to get the current node in the asmx web service?
+3
source to share