microsoft-ajax

Execute JQuery after ASP.Net Microsoft AJAX

孤者浪人 提交于 2020-01-03 01:58:23
问题 I'm trying to execute JQuery after an ASP.Net Microsoft AJAX post back. When a user clicks on a link, Microsoft AJAX is used to update some fields in the DB and if success a label appears informing the user the change has been made. Unfortunately the label is not very obvious and I would like to use to fade the background from red to white. The problem is that when visible=false is set on the label, the resulting html does not include the label(span). Does anyone know how to execute JQuery

In Microsoft Ajax, what exactly does $find do?

依然范特西╮ 提交于 2019-12-23 12:41:17
问题 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 back from jquery's $('#someControlId') or Javascript getElementById('someControlId') The reason I ask is because when I use $find on the ClientId of some Telerik controls, the object returned seems to have a type. So is this just another instance of

Formatting a date in javascript till the millisecond

巧了我就是萌 提交于 2019-12-23 06:57:01
问题 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 part to work.Note that format comes from Microsoft's Mvc Ajax lib. 回答1: It's indicated by an f : "dd/MM/yyyy HH:mm:ss fff" 回答2: Using the date format library, it should be something like this: var nowMilliseconds = new Date().format("yyyy-mm-dd HH:MM

MicrosoftAjax.js causes an infinite page refreshing

痞子三分冷 提交于 2019-12-13 14:56:32
问题 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 ? Here's the explanation https://stackoverflow.com/a/7111848/106616 来源: https://stackoverflow.com/questions/9316248/microsoftajax-js-causes-an-infinite-page-refreshing

Hosted Microsoft Ajax on CDN?

纵然是瞬间 提交于 2019-12-11 07:47:28
问题 Google hosts popular ajax libraries for free at : http://code.google.com/apis/ajaxlibs/ You get to take advantage of their bandwidth, their CDN and most importantly that users may already have it cached from another site that is retrieving their JS files from google. Was just wondering if the same is true for Microsoft AJAX anywhere? Or is there somewhere on Microsoft's site I could 'steal' the hosting from. Also is there any benefit of me hosting it myself on a CDN like Amazon A3. I believe

Microsoft JScript runtime error: Unable to set value of the property 'control': object is null or undefined

谁都会走 提交于 2019-12-08 01:38:59
问题 I am Developing a web application by using ASP.NET 3.5, jQuery and RadAjax Telerik Control. I get Error Messages when page Loading. that is :"Microsoft JScript runtime error: Unable to set value of the property 'control': object is null or undefined" . Image: and when I click to Open RadWindow then get same Error Message. and could not open radwindow. Image 2: How can I solved this Error. Help me.. Thanks Nahid 回答1: Unfortunately the source of the issue can't really be seen with this kind of

Fake __EVENTVALIDATION in Microsoft Ajax

南楼画角 提交于 2019-12-04 23:40:01
问题 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 fake the __EVENTVALIDATION post field. I have no control whatsoever over the website and I have never built anything using ASP.NET or Microsoft Ajax. Has anyone done this? I have found that the __EVENTVALIDATION field has this pattern ( ...

Fake __EVENTVALIDATION in Microsoft Ajax

☆樱花仙子☆ 提交于 2019-12-03 15:55:45
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 fake the __EVENTVALIDATION post field. I have no control whatsoever over the website and I have never built anything using ASP.NET or Microsoft Ajax. Has anyone done this? I have found that the __EVENTVALIDATION field has this pattern ( ... symbolises bytes changed depending on the request, hexdump of the base64 decoded version): d8 01 16 13 02 4f 0a

Firefox 6 Infinite Page Refresh With Page With Hash Tags

谁说我不能喝 提交于 2019-11-27 08:12:29
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 hash tag was applied, the page refreshes as quickly as it can infinitely. This is a Asp.Net MVC 2 site created around a year and a half ago. frank hadder Turns out, this is an issue with an old version of MicrosoftAjax.js (the one that comes installed with Asp.Net MVC 2). Open up the MicrosoftAjax.debug.js file and check the file version number. The

Firefox 6 Infinite Page Refresh With Page With Hash Tags

被刻印的时光 ゝ 提交于 2019-11-26 14:04:09
问题 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 hash tag was applied, the page refreshes as quickly as it can infinitely. This is a Asp.Net MVC 2 site created around a year and a half ago. 回答1: Turns out, this is an issue with an old version of MicrosoftAjax.js (the one that comes installed with