Tagged Questions
8
votes
2answers
8k views
jqgrid Page 1 of x pager
I am trying to figure out how to user the paging functionality of the jqGrid.
Currently I am stuck on Page 1 of 4. No matter if I press the Next button or not. It just stays on 1.
I am using ...
25
votes
7answers
32k views
Calling ASP.NET server side method via JQuery
I'm trying to call a server side method from client side via jQuery, my code is as follows:
Server side:
using System.Web.Services;
[WebMethod()]
//[ScriptMethod()]
public static ...
47
votes
8answers
95k views
How to use jQuery to call an asp.net web service?
I'm trying to use jQuery to get data from an ASP.NET web service (SharePoint Server 2007 lists.asmx) but any call to a web service will really help as a first step in that direction.
81
votes
4answers
32k views
Request format is unrecognized for URL unexpectedly ending in
This is not a question - posting it here for reference:
When consuming a WebService, I got the following error:
Request format is unrecognized for URL unexpectedly ending in /myMethodName
3
votes
1answer
4k views
jqgrid add row and send data to webservice for insert
I have been able to pull data from my DB using jQuery/Ajax from a webservice into the jQGrid. Now I would like to send added/edited data back to the webservice. I've seen some examples by using PHP ...
22
votes
8answers
42k views
How to return JSON from a 2.0 asmx web service
Update: I have since moved on to another project, and I am now able to use .Net 4.0. As a result, this question is no longer relevant to me. From the number of views on this question, though, it must ...
23
votes
5answers
39k views
Call ASP.NET PageMethod/WebMethod with jQuery - returns whole page
jQuery 1.3.2, ASP.NET 2.0. Making an AJAX call to a PageMethod (WebMethod) returns the full/whole page instead of just the response. A breakpoint on the page method shows it's never getting hit. I ...
3
votes
1answer
422 views
Trying to make Web Method Asynchronous
The project I am currently working on involves MS SQL Server and ASP.net Web Services that use Session variables. Apparently this causes a client's calls to execute in a sequential manner. I want to ...
3
votes
5answers
13k views
can jquery ajax call external webservice?
Can jquery ajax code call a webservice from another domain name or another website?
Like this:
$.ajax({
type: "POST",
url: ...
2
votes
1answer
771 views
jQuery Ajax calls to web service seem to be synchronous
I have two ajax calls to a web service from jquery.
The first call (GetMessages) starts an interval in javascript (setInterval) and returns a string array of messages stored in a session variable.
...
16
votes
4answers
13k views
Capturing SOAP requests to an ASP.NET ASMX web service
Consider the requirement to log incoming SOAP requests to an ASP.NET ASMX web service. The task is to capture the raw XML being sent to the web service.
The incoming message needs to be logged for ...
16
votes
9answers
14k views
calling an ascx page method using jquery
I know that I can call a page method with jquery using the following syntax
$.ajax({
type: "POST",
url: "Default.aspx/GetDate",
data: "{}",
contentType: "application/json; charset=utf-8",
...
47
votes
8answers
9k views
What is the difference between an asp.net web method and a wcf service?
I'm new to .Net and do not understand the difference. Can someone point me in the right direction?
39
votes
8answers
39k views
ASP.NET MVC & Web Services
Does adding a Web Service to my ASP.NET MVC project break the whole concept of MVC?
That Web Service (WCF) depends on the Model layer from my MVC project to communicate with the back-end (so it looks ...
22
votes
7answers
4k views
When should a web service not be used?
Using a web service is often an excellent architectural approach. And, with the advent of WCF in .Net, it's getting even better.
But, in my experience, some people seem to think that web services ...