Tagged Questions
0
votes
3answers
34 views
can't call Response.Redirect inside a static method
Hello I'm trying to run a webmethod with ajax from an aspx page. basically I want to redirect to another aspx page with a query string, but I want to do it from <a href>, beacuse it's part of a ...
0
votes
0answers
28 views
ASP.NET web service - How to change payload?
Is it possible to change a payload of a Ajax call to an ASP.NET web service?
I have a class like following:
public class Foo
{
public int ID { get; set; }
public string Name { get; set; }
}
...
1
vote
1answer
46 views
Disable parent window when child popup window is open
I have an aspx page that pops up in a child window. Is there a way to make the parent window non-accessible until the popup child window is closed?
For the record, I'm using the following jQuery code ...
0
votes
0answers
13 views
jQuery / MVC - Limit scope of .ajaxStop()?
I have a couple of AJAX calls that get fired in a full view, but one of them is in a partial view.
Previously to this setup, the full view only had a single AJAX call, making .ajaxStop() a breeze to ...
4
votes
0answers
23 views
Can't post data via AJAX calls in IE10 in pages present inside iframe
I have an index page default.aspx at following URL say http://myappdomain/
With the following code:
<html>
<body>
<form id="form1">
...
0
votes
1answer
37 views
Is there an efficient way to pass user-side JS data to backend C#, every time it changes?
I have a front end JS application (with visual sliders) and whenever the user updates the slider, I want to send the new information to the C# backend (ASP.NET). From what I've found, AJAX is going ...
1
vote
0answers
10 views
asp.net-ajax EndRequest handler not fired
I have used aspnet ajax to show progress image on server request.
code:
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler);
...
0
votes
0answers
16 views
uploadify is better or Ajax AsyncFileUpload?
I want upload file in my asp.net site but without postback. i must use file uploaders like Uplodify or Ajax AsyncFileUpload.
now, i don't know Uploadify is better or Ajax AsyncFileUpload and why?.
...
0
votes
1answer
48 views
What are the reasons for using AJAX over client-side jQuery?
In contemplating my next asp.net site, where I am going to be dynamically generating href-laden html to display, I am unsure as to which approach to take -- I don't know yet wheter I will use AJAX and ...
0
votes
0answers
17 views
WebMethod error response as application/json on Development but text/html on Production
On DEV the error(catch) returns application/json, but on LIVE it's text/html:
[WebMethod]
public static string UpdateCategoryProductDisplayOrder(int parentCategoryId, int productId, int ...
0
votes
1answer
16 views
Add Ajax CalendarExtender to a dynamic textBox in ASP.NET C#
Is there a way to add Ajax CalendarExtender to a dynamic ASP.NET textbox control? Basically I'm trying to do the following:
protected void Page_Load(object sender, EventArgs e)
{
...
0
votes
1answer
18 views
How to download a file bound to an gridview
I'm missing something simple.
I'm generating some binary files that I'm binding to a GridView.
FileDownloadGrid.DataSource = downloadList;
FileDownloadGrid.DataBind();
The interesting ...
1
vote
2answers
31 views
JQuery AJAX call to WebMethod multi threaded
I have a JQuery AJAX call for ASP.NET WebMethod.
I understand the async: true that allows the WebPage not to be locked until the function returns and therefore i set it to 'true'.
The problem that i ...
2
votes
1answer
18 views
ASP.NET page webmethod AJAX call Request timed out
I have webmethod on asp page
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public static string MyMethod(string requestObject)
{
// here is operation that ...
0
votes
1answer
43 views
Exact same HTTP request results in text/html or application/json depending on server
I have a very simple JsonResult method on one of my controllers:
[AjaxErrorHandler]
public JsonResult ApplyBasic(ApplyBasicModel applyBasicModel) {
if (ModelState.IsValid) {
return ...