Questions tagged [microsoft-ajax]

Microsoft Ajax features enable you to quickly create Web pages that provide a rich user experience and that include responsive and familiar user interface (UI) elements.

About

Microsoft Ajax features enable you to quickly create Web pages that provide a rich user experience and that include responsive and familiar user interface (UI) elements

Microsoft Ajax applications are compatible with all popular modern Web browsers, including Microsoft Internet Explorer, Mozilla Firefox, and Google Chrome.

Official Website

Microsoft Ajax

63 questions
42
votes
2 answers

Firefox 6 Infinite Page Refresh With Page With Hash Tags

When Firefox updated to version 6 recently, a site I'm working on severely broke. The site operates normally when browsing to any page without a hash tag but if you try to navigate to a page with a hash tag (e.g. #test) or refresh the page once a…
frank hadder
  • 4,384
  • 1
  • 31
  • 30
37
votes
5 answers

Formatting a date in javascript till the millisecond

We are using the following js lib from Microsoft https://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js var datetimehigh = new Date(2011,01,12,14,45,55,596); var sDate = datetimehigh.format("dd/MM/yyyy HH:mm:ss sss"); I cannot get the millisecond…
chugh97
  • 9,602
  • 25
  • 89
  • 136
9
votes
2 answers

Type.registerNamespace is throwing errors when namespace already exists

In my corporate environment, we are using a lot of javascript. To simplify the management of all this script, and avoid naming collision, we adopted a javascript naming convention for namespaces, which is…
Steve B
  • 36,818
  • 21
  • 101
  • 174
6
votes
1 answer

Why won't MicrosoftAjax.js load over SSL in google chrome on some PCs?

I'm using microsoft's CDN for pulling down the Ajax libraries. And I'm using SSL on some pages. This URL resolves fine in Firefox and IE: https://ajax.microsoft.com/ajax/4.0/MicrosoftAjax.js However in google chrome (on my PC, today...) it seems to…
Chris Haines
  • 6,445
  • 5
  • 49
  • 62
5
votes
2 answers

Fake __EVENTVALIDATION in Microsoft Ajax

I am in the progress of making a mobile App for a website to view your schedule. They don't provide any API and has no intention to make one. The website can only function with Ajax, however to fake these requests and scrape the website I need to…
Tyilo
  • 28,998
  • 40
  • 113
  • 198
4
votes
4 answers

How to compress specific pages in ASP.NET

I have web application that in some pages I use Ms Ajax (Script Manager,Update Panel,...). In these pages I can't use compression because it conflicts with *.axd files. How I can compress specific pages in my web application?
Arian
  • 12,793
  • 66
  • 176
  • 300
4
votes
0 answers

Javascript error in Firefox when using ASP.NET AJAX Control Toolkit

I have recently been building a website that utilizes the .NET Framework 3.5 SP1 and the AJAX Control Toolkit. The standard AJAX controls such as UpdatePanel work without problem. As soon as I add a CollapsiblePanelExtender control from the…
John Gully
4
votes
1 answer

In Microsoft Ajax, what exactly does $find do?

I'm so confused as to what $find from Microsoft Ajax actually is. Does it just return a control in a similar manner that the $ operator from jquery or javascript's own getElementById do? If I do $find('someControlId') Will I get the same object…
Matt
  • 25,943
  • 66
  • 198
  • 303
4
votes
2 answers

CompositeScript without Microsoft Ajax JavaScript

I'm currently using the CompositeScript feature of System.Web.Extensions in order to combine my JavaScript files to reduce download time. However, by including any script manager, the MicrosoftAjax JavaScript code is included in my pages. I do not…
Brian Victor
  • 387
  • 1
  • 4
  • 12
3
votes
0 answers

MicrosoftAjax.js causes an infinite page refreshing

according to my question (location.hash and the page is refreshing unlimited number of times) I'm wondering, why - If I have a hash in the URL and included the MicrosoftAjax.js script - if I refresh the page, it is refreshing all the time. Any ideas…
Tony
  • 12,405
  • 36
  • 126
  • 226
3
votes
1 answer

Error handling with Javascript-enabled WCF?

Is there documentation on how to use the callback functions in a WCF Service that is exposed to Javascript? I'm interested in getting information from the FailureCallback as to why my method isn't firing. In other words I have the follwoing…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
3
votes
1 answer

What is the difference between Microsoft jQuery Unobtrusive and Microsoft Ajax

I am working on an ASP.Net MVC Application (C# and razor). I am wondering what is the difference between those 2 nuget packages: Microsoft jQuery Unobtrusive Microsoft Ajax Thanks
Bob5421
  • 7,757
  • 14
  • 81
  • 175
3
votes
1 answer

Is there any real benefit to using the MicrosoftAjax library?

I have been using jQuery for the past couple of years now, and I'm comfortable with it. In every MVC project that I start, the first thing I do is delete the MicrosoftAjax files from the solution. I'm wondering now if there's any value in them…
DaveDev
  • 41,155
  • 72
  • 223
  • 385
3
votes
2 answers

How can I determine if a Sharepoint ListItem exists based on a couple of known values?

I have this Sharepoint (2010) Javascript (adapted from here) to insert or Update various "fields" in the ListItem: var listId; . . . function upsertPostTravelListItemTravelerInfo1() { var clientContext = new SP.ClientContext(siteUrl); var…
3
votes
2 answers

.NET MVC Ajax Form - How do you hide it?

Ok, everything is 'functionally' working with what I am attempting to accomplish and once again, I am sure this is something dumb, but I cannot figure out how to do this one thing. I have an edit form for an entity, lets say a car. This 'car' can…
Tommy
  • 39,592
  • 10
  • 90
  • 121
1
2 3 4 5