Most voted "webmethods" questions
Webmethods is a feature of Asp.net webforms, to allow methods of an aspx page to be called directly from the interface, being possible to use them in ajax for example.
Learn more…10 questions
Sort by count of
-
9
votes2
answers747
viewsWebmethod is not called (fired) through the Pagemethod
I’m having trouble firing one WebMethod in a project created in Visual Studio 2013 (Webforms Application). If I create a project, for example, in Visual Studio 2008 and migrate to Visual Studio…
asp.net visual-studio-2013 webforms webmethods pagemethodsasked 10 years, 11 months ago Leonan Milani 141 -
4
votes1
answer1406
viewsC# Receiving Serialized Objects on a Webmethod
Good afternoon, I am passing a list of JS objects to C#, to a Webmethod, as function parameter, what kind of parameters this should be? I created a class to receive the data: public class…
-
3
votes2
answers642
viewsExecute server method when closing the browser
I need the user to close the browser or the page tab, update the status Logged in that is in the database (to control user access). For this use the following Method JavaScript:…
-
2
votes0
answers36
viewsFile (.PDF) for Ajax/Webmethod Webforms
I wonder how do I get the information from a pdf file (Binary, name, size) public class Arqs: IHttpHandler { Funcoes f = new Funcoes(); public void ProcessRequest(HttpContext context) { try {…
-
1
votes2
answers931
viewsC# Webmethod - Send and Receive the same object (custom) via Parametro
My code: Object: public class Person { private string _Nome; private DateTime _Nascimento; public string Nome { get { return _Nome; } } public DateTime Nascimento { get { return _Nascimento; } }…
-
1
votes2
answers73
viewsError calling webmethod
I’m creating a webmetod that will make the autocomplete of some fields on my screen, however I’m getting error 500 <System.Web.Services.WebMethod>…
-
0
votes1
answer77
viewsjQuery.ajax calls webmethod(c#) with Speechsynthesizer
I have a javascript method that checks if there is an unread message. If there displays the image of an envelope. The method executes a jQuery.ajax calling a Webmethod that returns the amount of…
-
0
votes1
answer84
viewsajax without query permission
I have a wcf webservice on the link http://food-fast-com.web27.redehost.net/ServiceUsuario.svc/ConsultarRegistroPorCodigo/2, I can consume it without problem in my local iis with ajax: Consulta…
-
0
votes0
answers25
viewsSending files via ajax to Webmethod
Good afternoon! I’m trying to send files via ajax for a WebMethod in c#, but I keep getting back my whole html page Javascript //Upload de arquivos $('#upload').change(function () { var fileUpload =…
-
0
votes0
answers19
viewsIs the Web API more efficient than Web Methods to access data in a C#application?
Today on the C# Dotnet you can access a C# function on your ASPX page by javascript, without needing Jquery. As long as the function is Static and dependent on system.web.service.webmethod on an…