All Questions
308
questions
0
votes
1
answer
80
views
How do I locate an erroneous value for a parameter in a web service call
When I make an ajax call to a WebMethod, get the server error:
The value
The value
"System.Collections.Generic.Dictionary`2[System.String,System.Object]"
is not of type "KBO.StoreLib....
0
votes
1
answer
158
views
Sending multiple Merged Json Object to webservice and then consume them individually
Good Morning Guys!
My problem is simple and I need some instant solution. at Client, Side is Creating three different Objects of Json(obj1,obj2,obj3) that I need to send to Backend C# using web ...
0
votes
0
answers
97
views
How to store ExtensionDataObject in List in C#
I want to bind html drop down List using Services. The service the return type is ExtensionDataObject How can i get data from this or how to store this values into list? Is it possible or not if not ...
1
vote
1
answer
167
views
Passing array of object from Ajax function to web service
I have two arrays of same object type that I am passing to a web service API. I look at the array just before it is passed to web service and each has an object in it. I put a breakpoint in API and ...
0
votes
1
answer
199
views
Thirdparty API invoke from Web Service (ASMX)
I've got a scenario to invoke an API from a third party application. But since the request is by using HTTPClient, its async and thus I'm not able to return correct value to Ajax request.
Here is my ...
1
vote
1
answer
909
views
Transfer image capture photo from Phone gap to C# asp.net Web Service
Below is my j query function uploadPicOne()
$(function() {
var allVals = []; //for global check boxes
$(document).on("click", ".click-action-for-event", function(e) {
...
0
votes
2
answers
3k
views
How can I save images in a folder with javascript? ASP.NET
with fileupload in asp.net, how can I save an image in a folder and then call and display it? Can I use ajax, jquery or javascript with web method?
<asp:FileUpload CssClass="image" ID="fileUpload" ...
0
votes
1
answer
64
views
Why is my simple ajax post not calling the c# web method?
I have a very simple AJAX Post that is not calling the C# Web Method.
When I add breakpoints to the JS, it seems to get to the AJAX post, but simply quit without making it to the Web Method. Any ...
0
votes
1
answer
202
views
Error in $Ajax ASP.NET web method call [async]
I am working over async web method (asmx file) and I need to call this method throughout an ajax jquery method however I am facing a lot of issues because the method uses also Entity Framework to run ...
0
votes
1
answer
541
views
DropDownList bind from web service Not passing data source when Edit in asp.net
I am using web service to bind data in DropDownList when I Add New data drop down list working fine, but when I Edit mode drop data source not fill. so the question is how to fill data source when I ...
0
votes
1
answer
77
views
Failed to load resource: net:: ERR_CONNECTION_REST
I need to get large data from database using Ajax web call.
Upto 20000 records the ajax call working fine, But when the record count is more than 20k it showing the error
"Failed to load resource: ...
0
votes
0
answers
415
views
ASP.Net - Implementing a Heartbeat Control with multi-tab support
What is it?
The Heartbeat control that I'm currently developing is a client-side/server-side solution which displays a popup modal to the user after 27 minutes of server session inactivity thereby ...
0
votes
1
answer
2k
views
How to use jQuery to call asp.net asmx web service with parameters to get response
I have written a simple ASMX web service with a method to get some value from the database. My service code is:
[WebMethod]
public string GetProductStock(string productId, string TerminalId, string ...
0
votes
1
answer
1k
views
Using jQuery and Web Services to send email
I am trying to add sending email functionality to a pure html site. I created an ASP.Net project in VS 2017 and added the html files to it. On the page that has "Contact Us" form, I added jQuery to ...
0
votes
2
answers
31
views
How to bind ienumerable list from a csv query param in a Post
I am sending an array over an ajax call like so:
$.ajax({
url: `${rootUrl}api/groups/EditMemberGroups?groupIds=${userGroupIds}`,
type: "POST",
cache: false,
dataType: "json",
...