Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI Sir,


I am doing a asp.net project, i have doubt,

I need to call some functions in .asmx page from a master page.

Can we access the methods from master page to .asmx page.


Please advice me.


Thanks in advance,

Dileep..
Posted
Updated 15-Aug-12 21:36pm
v2

1 solution

First of all a .asmx is a webservice class and not a 'page' as you call it in your question.

Second thing is using the webservice i.e. functions from .asmx into a master page or page ( used in same way). The steps for using it are as follows:

Calling Web Service using ASP.NET[^]
http://www.aspdotnet-suresh.com/2011/05/aspnet-web-service-or-creating-and.html[^]
http://www.simple-talk.com/dotnet/asp.net/using-webservices-with-asp.net/[^]
http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-and-call-a-simple-web-service-in-aspnet[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900