Questions tagged [ajaxpro]

Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with .NET 1.1 and 2.0.

The framework will create proxy classes that are used on client-side JavaScript to invoke methods on the web server with full data type support working on all common web browsers including mobile devices. Return your own classes, structures, DataSets, enums,... as you are doing directly in .NET.

AjaxPro FAQ

Setup your web application for AjaxPro What do I need to start? How do I setup my web application to use AjaxPro?

Your first Ajax request My first Hello World example How to use DateTime on the client-side JavaScript? How to return my custom class in an AjaxMethod?

Community and Forum I've removed the forum here because there is already a forum available at the Google groups with more than 4.000 users: http://groups.google.com/group/ajaxpro/

My Blog My blog is available at http://weblogs.asp.net/mschwarz/ where I will write about Ajax news and other .NET related stuff.

Demo See http://www.ajaxpro.info/ for some examples on how to use AjaxPro. Last edited May 18, 2012 at 12:19 AM by interactive, version 22

30 questions
1
vote
1 answer

ajaxpro 2.0 : IE 10 sends an error when an ajax function is in the callback function

I use Ajaxpro.2 in a .net 4.0 Application. An ordinary Ajax-Function works perfect but when i want to add another Ajax-Function in the callback function IE 10 sends a Script Error 16389 in core.ashx in line 412: this.xmlHttp.open("POST", this.url,…
1
vote
1 answer

AjaxPro Framework hitting timeout function?

I am trying to develop a chat application.I am using Asp.Net2.0 and vs2005.Iam using AjaxPro Framework for getting asynchronous calls to the server side. My problem is when i send message im getting timeout error after a few seconds.What could be…
Kannan
  • 829
  • 2
  • 11
  • 24
1
vote
1 answer

Asynchronous calls with AjaxPro

I have been working with synchronous calls in AjaxPro, and I am now looking into asynchronous calls. I have been looking at the example Here My question is : How do I pass variables to my ajaxpro method? I would like to add some properties to the…
Dofs
  • 17,737
  • 28
  • 75
  • 123
1
vote
0 answers

Namespace undefined error in javascript to execute ajax method from asp.net page

I am Using Ajax Pro I am not getting any error on my machine when i test the web site but getting an error of TimeSheet is undefined (TimeSheet is the namespace) from the hosting. I get this error in the following cdoe from javascript…
0
votes
1 answer

date format using Ajaxpro

I am using AjaxPro to retreive database, the date field return Sat Apr 3 00:00:00 UTC+0700 1982 i want to format it like "dd/mm/yyyy".
thienthai
0
votes
1 answer

Trouble adding web service/service reference on the aspx page

I think I got the web.config right but I'd want to know how to add the service reference or the web service itself on the aspx page so my script could access it. here's what I did but it doesn't work: <%@ ServiceHost Language=C# Service="WebService"…
Bahamut
  • 1,929
  • 8
  • 29
  • 51
0
votes
1 answer

Refused to set unsafe header "Connection" AjaxPro AjaxMethod

I am using AjaxPro. I am getting this error while calling GetReturns(): Refused to set unsafe header "Connection" Report.Areas_Report.GetReturns(30, aoData, (response) => { if (response.error == null) { var myObject = response.value; …
Rizwan Ali
  • 21
  • 6
0
votes
4 answers

Passing variables with AjaxPro

I found this AJAX .NET framework the other day, and so far I am enjoying working with it. However, one thing I can't figure out (the documentation is rather poor atm) is how to pass variables through the AJAX script. This is what I have so…
Anders
  • 12,088
  • 34
  • 98
  • 146
0
votes
1 answer

URL-based authorization and ajaxpro problem

I have an ASP.NET app using Ajaxpro and forms authentication. First I was having trouble trying to avoid passing the ajaxpro handlers through authorization, which was resolved when I included them on separate locations on the web.config:
rla4
  • 1,228
  • 13
  • 25
0
votes
2 answers

can't get generated controls through AJAX response

I use ASP.NET C# with AJAX Professional (http://www.ajaxpro.info) 1) I have a div container with Panel control, Panel control should hold DropDownList that will be generated in codebehind function:
desperate man
  • 905
  • 1
  • 17
  • 39
0
votes
1 answer

Passing Date Object With Ajaxpro

I pass an javascript object from client-side to server-side function with Ajaxpro. In server-side date variables comes inside object are looks like below. What does it mean? How can i parse it to formatted date? "/Date(1280381400000)/"
mavera
  • 3,171
  • 7
  • 45
  • 58
0
votes
1 answer

How do I remove ajaxpro *.ashx handlers from individual pages?

I working on a ASP.NET web project where Ajaxpro.2 is referenced, and it seems automatically to add a bunch of ashx handlers to the page output - ie, core.ashx, prototype.ashx. The problem is, I only need these to be present on a few pages, not the…
wows
  • 10,687
  • 7
  • 27
  • 27
0
votes
2 answers

Ajaxpro methods get global page variable to be reinitialized?

I have a problem with ajaxpro methods. In the .cs file I defined some global variable for my page, something like: public partial class Admin : System.Web.UI.Page { public int localidMember = 9; protected void Page_Load(object sender,…
user1507164
  • 81
  • 1
  • 4
0
votes
2 answers

AjaxPro and OnTimeOut error

I am getting the following error on my AjaxPro project: Error: this.onTimeout is not a function Source: http://localhost:3405/ajaxpro/core.ashx Line: 407 I know it is something to do with the release of AjaxPro, but does any of you have a version…
Dofs
  • 17,737
  • 28
  • 75
  • 123
-1
votes
1 answer

ASPX convert string to boolean

I have to support some aspx pages and I'm pretty new to apsx. In the below case allWOs = "false", and ends up being passed to a method expecting a Boolean. How need to convert a string to Boolean? Is the below proposed a viable way to do…
Bill
  • 915
  • 2
  • 13
  • 23
1
2