Search

You searched for the word(s): userid:652345

Matching Posts

  • Future bits

    I love seeing community style development of ASP AJAX and the future bits add some interesting things. Silverlight is the word of the month. What do we call the subset of the .Net framework in Silverlight btw? Is it Compact, Mobile, Web? Anyway, despite having to learn something new here's something that I think is missing in the client bits. Something to simplify document.createElement and creating initial attributes and updating element attributes. Sys.Component.createMultiple is a step forward
  • Re: FireFox not picking up the onreadystatechange event

    This is not an ajax question but what you are sending is a synchronous request. The XHR standard is a little ambiguous on when readystatechange must be fired in the event of a synchronous request - only saying that it must be fired when readystate is changed - this is up the implementer. You definitely do not want to be using synchronous requests unless you really really know what you are doing and even then it is still a fine line that you have to walk. Just change your open("GET", url) w/o async
  • Re: JSON Date Serialization fails

    Sorry but this was a bug on my part in my javascript compressor code. It is behaving correctly.
  • Re: JSON Date Serialization fails

    Hello I am seeing this behavior in a simple web method that returns DateTime. It is working on the development but when I deploy it in a non-debug environment it fails regular deserialization. I am returning a List<ClassA> where ClassA has some public properties that are DateTime. I will post as soon as I have some more information.
  • Re: ScriptLoader not complete

    Hello - The scenario you mention is sort of what I am doing. I am not using any postbacks or updatepanels, simply using the webservice architecture. I am using reflection to access the internal classes of the serializer and create a string web service proxy script. I then include this inline on my page (in release mode) or as a script reference (in debug mode). However, I need to do all this dynamically - for example I may need to reference a service or a script dynamically from a page (not at load
  • Re: Add a parameter to all web service request.

    Hello I do one of these two ways in javascript. Sys.Net.WebRequest.prototype._get_headers = Sys.Net.WebRequest.prototype.get_headers; Sys.Net.WebRequest.prototype.get_headers = function() { var headers = Sys.Net.WebRequest.prototype._get_headers.apply(this); headers['CustomParam'] = 'hello' return headers; }; --- OR (recommended) --- MyCustomParamFunction = function(sender, e) { var req = e.get_webRequest(); req.get_headers()['CustomParam'] = 'hello'; } Sys.Net.WebRequestManager
  • Re: ScriptLoader not complete

    Hello - here's why the timeout handler is ignored. The timeout value in Sys$_ScriptLoader$loadScript is completely unused as is the scriptLoadTimeoutCallback. The timeout callback is stored but never invoked, and the timeout value is not even stored. See below. function Sys$_ScriptLoader$loadScripts(scriptTimeout, allScriptsLoadedCallback, scriptLoadFailedCallback, scriptLoadTimeoutCallback) { /// <param name="scriptTimeout" type="Number" integer="true"></param> /// <param name="allScriptsLoadedCallback
  • Safari + notifyScriptLoaded() + service reference

    Hello - when including a service reference (Hello.asmx/js for example) the appropriate Sys.Application.notifyScriptLoaded() is not being outputted with the proxy script. This causes indefinite wait for the script. Anyone with any ideas? PS: I am also seeing timeout handler is not working in this case with Safari.
  • Stripping out Function._validateParams in production mode

    Hello - In release mode Ajax clientfx library does not include Function._validateParam amd helpers (but does send out Error.parameterCount strangely enough!!!!). I like to use it but when I deploy I need a solution to strip this out. I wanted to see if anyone had a better solution out there than running a regex to strip out the appropriate code in a response filter. I know Nikhil Kothari's tool is being used by the Ajax team with modifications but I am not sure I need to go that far. I am not sure
  • Re: Why are some things private/internal in the server library?

    Hello - Basically my optimization fits my use case well because I load various scripts dynamically depending on certain conditions. My scripts also have dependencies on certain web services as well as certain initial data. So basically rather than loading each one separately or loading everything statically I am able to load whatever I need at the same time. On top of this there is also caching to save on subsequent proxy generations (of course using a CacheDependency) as well as etag support. I
Page 1 of 18 (177 items) 1 2 3 4 5 Next > ... Last »