Can I use ajax to call c#?

Firefox and ASP.Net 1.1 and Ajax and Validators, oh my!

  • How can I get Ajax and client side validators working with my ASP.Net 1.1 application in Firefox? Ok, long story short - I've got an ASP.Net 1.1 website, which uses Validator controls and Ajax (ajax.dll, v5.7.22.2)... All of these elements of the site were chosen/implemented before I got here, and before anybody asks, no, it's not within our budget (timewise) to upgrade even to ASP.Net 2.0, let alone the latest and greatest of everything. The site works fine in IE (of course), but in Firefox (or Chrome... Haven't tried Opera or Safari) I've found that ASP renders the site without any javascript code for the validators, nor does it render the site with any javascript code for the ajax methods that I call. I've checked, and our web.config is setup to treat Firefox as an "uplevel" browser... And it *does* seem to be using the correct HtmlWriter (ie my pages on FFox are rendered with spans and divs). I've tried creating a PageClient alias using an IE7 user agent in the web.config, and forcing the page to use that PageClient. NOTHING seems to let it generate the Ajax and validator javascript. My research on the net seems to be pointing towards validators simply not ever able to work with ASP.Net 1.1 and Firefox... And I presume that whatever the validators do, the Ajax library is doing as well... But I'm really really really hoping there's a workaround for this. It'll be extremely embarrassing to have to tell the client in this day and age "Sorry, we don't support non-IE browsers with this release".

  • Answer:

    You might want to ask this over on http://stackoverflow.com/

antifuse at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.