Owner: AJAX problems and solutions URL:http://ajaxsample.blogspot.com Join Date: Sun, 02 Dec 2007 23:32:46 -0600 Rating:0 Site Description: My aim to provide a complete Material of DOT NET AJAX including AJAX problem on remote server, AJAX tutorial,Free ebooks of AJAX and much more. Site statistics:Click here
Is AJAX code cross browser compatible? 2008-02-07 01:22:00 Not totally. Most browser
s offer a native XMLHttpRequest JavaScript object, while another one (Internet Explorer) require you to get it as an ActiveX object.... Read more:AJAX
, compatible
Are there any security issues with AJAX? 2008-02-01 22:47:00 JavaScript is in plain view to the user with by selecting view source of the page. JavaScript can not access the local filesystem without the user's permission. An AJAX
interaction can only be made with the servers-side component from which the page was loaded. A proxy pattern could be used for AJAX interactions with external services. You need to be careful not to expose your application model in such as way that your server-side components are at risk if a nefarious user to reverse engineer your application. As with any other web application, consider using HTTPS to secure the connection when confidential information is being exchanged. Read more:security
How do I get the XMLHttpRequest object? 2008-02-01 22:46:00 Depending upon the browser... if (window.ActiveXObject) { // Internet Explorer http_request = new ActiveXObject("Microsoft.XMLHTTP"); } else if...
Why does HTML_AJAX hang on some server installs 2008-02-01 22:45:00 If you run into an HTML_AJAX
problem only on some server
s, chances are your running into a problem with output compression. If the output compression is handled in the PHP config we detect that and do the right thing, but if its done from an apache extension we have no way of knowing its going to compress the body. Some times setting HTML_AJAX::sendContentLength to false fixes the problem, but in other cases you'll need to disabled the extension for the AJAX pages. I've also seen problems caused by debugging extensions like XDebug, disabling the extension on the server page usually fixes that. Questions dealing with Using HTML_AJAX, and general JavaScript development
Is the server or the client in control? 2008-01-31 22:43:00 It depends. With AJAX the answer is more in between. Control can be more centralized in a server
-side component or as a mix of client-side and server-side controllers.* Centralized server-side controller - When having a more centralized controller the key is to make sure the data in client-side page is in sync with that of the server. Some applications may keep all the state on the server and push all updates to client DOM via a simple JavaScript controller.* Client and server-side controllers - This architecture would use JavaScript to do all presentation related control, event processing, page manipulation, and rendering of model data on the client. The server-side would be responsible for things such as business logic and pushing updated model data to the client. In this case the server
What Browsers does HTML_AJAX work with? 2008-01-30 22:05:00 As of 0.3.0, all the examples that ship with HTML_AJAX
have been verified to work with* Firefox 1.0+* Internet Explorer 5.5+ (5.0 should work but it hasn't been tested)Most things work with* Safari 2+* Opera 8.5+
What parts of the HTML_AJAX API are stable? 2008-01-30 22:04:00 We don't have a list right now, but most of the API is stable as of 0.3.0. There should be no major changes at this point, though there will be lots of new additions. Read more:AJAX
When will HTML_AJAX have a stable release? 2008-01-29 22:49:00 Once all the major features are complete and the API has been tested, the roadmap gives an idea of whats left to be done. Read more:AJAX
How do we reference HTML controls using Atlas? 2008-03-12 00:26:00 You can reference
the above HTML defined button using the below code snippet of JavaScript. We have also attached the onClick method with the button. This method will be called when we click the button. var btnVisibility = new Sys.UI.Button($('Button1')); btnVisibility.initialize(); btnVisibility.click.add(onClick);You can refer other HTML elements like Label, Textbbox m CheckBox , Hyperlinks etc using the Sys.UI. Read more:Atlas
Setting Up ASP.NET AJAX Extensions 2008-05-13 23:36:00 Before we delve into the ASP.NET AJAX
architecture, let’s briefly review some common issuesrelated to installing, configuring, and running ASP.NET AJAX applications.Installing ASP.NET AJAX ExtensionsThe setup phase of ASP.NET AJAX Extensions installs debug and release copies of the AJAXScript Library and any needed binaries. If you have any version of Visual Studio 2005installed, the package als Read more:Setting
CollapsiblePanel Extender 2008-05-15 23:32:00 The extender builds up a collapsible section in your pages by combining two panels—one acting as the content panel, and one being the expand/collapse controller. In its simplest form, the CollapsiblePanel extender looks like the following code sample:act:CollapsiblePanelExtender
ID="CollPanel" runat="server" TargetControlID="ContentPanel"ExpandControlID="HeaderPanel"CollapseControlID="HeaderPane
The DragPanel Extender 2008-05-16 23:11:00 The DragPanel extender is one of the simplest extenders in the ACT. It has only two properties—one to indicate the panel to drag, and one to indicate the panel to use as the drag handle:As the name suggests, the TargetControlID property refers to the ID of the panel control in the page that is going to be moved. The DragHandleID, on the other hand, indicates the ID of the panel control that is u Read more:Extender
What are the properties of the XmlHttpRequest object? What are the different types of readyStates in Ajax? 2008-06-09 00:14:00 i) onreadyStateChange - This function is used to process the reply from the web server.ii) readyState - This property holds the response status of the web server. There are 5 states:0 - request not yet initialized1 - request now set2 - request sent 3 - request processing4 - request completesiii) responseText - Has the data sent back by the web serverCode snippet below shows an example how these th Read more:different
, types
What is Dojo? 2008-06-15 23:37:00 Dojo is a third-party javascript toolkit for creating rich featured applications. Dojo is an Open Source DHTML toolkit written in JavaScript. It builds on several contributed code bases (nWidgets, Burstlib, f(m)), which is why we refer to it sometimes as a "unified" toolkit. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web applicatio
What is the ASP.NET Control Toolkit? 2008-06-15 23:36:00 Besides the Ajax Framework (which is the Ajax engine) and Ajax Extensions (which contain the default Ajax controls), there is a toolkit called the Ajax ControlToolkit
available for use & download (for free). This is a collection of rich featured, highly interactive controls, created as a joint venture between Microsoft & the Developer Community.
What are Ajax Extensions? 2008-06-15 23:35:00 The ASP.NET Ajax Extensions are set of Ajax-based controls that work in ASP.NET 2 (or above) based applications.Ofcourse,they also need the Ajax runtime which is actually the Ajax Framework 1.0.ASP.NET Ajax Extensions 1.0 have to be downloaded to run with ASP.NET 2.0The new ASP.NET 3.5 Framework comes with the Ajax Library 3.5 (containing the Ajax Extensions 3.5). So in order to use the latest Aja
What is the ASP.NET Ajax Framework? What versions have been released so far? 2008-06-15 23:34:00 ASP.NET AJAX is a free framework to implement Ajax in asp.net web applications, for quickly creating efficient and interactive Web applications that work across all popular browsers.The Ajax Framework is powered with1 - Reusable Ajax Controls2 - Support for all modern browsers3 - Access remote services and data from the browser without tons of complicated script. Versions of Ajax release1 - ASP.NE Read more:versions
What is the role of ScriptManager in Ajax? 2008-06-16 23:31:00 ScriptManager class is the heart of ASP.NET Ajax. Before elaborating more on ScriptManager, note that ScriptManager is class and a control (both) in Ajax. The ScriptManager class in ASP.NET manages Ajax Script Libraries, partial page rendering functionality and client proxy class generation for web applications and services. By saying client proxy class, this means an instance of the Ajax runtime
How to create an AJAX website using Visual Studio? 2008-06-16 23:30:00 Using Visual
Studio Web Developer Express 2005 & versions above it, Ajax based applications may easily be create
d. Note that the Ajax Framework & Ajax Extensions should be installed (In case of VS 2005). If using Visual Studio 2008 Web Developer Express or above, Ajax comes along with it (so no need of a separate installation). Steps: Start Visual Studio, Click on File -> New Website -> Under Visu Read more:AJAX
, website
How to handle multiple or concurrent requests in Ajax? 2008-06-16 23:29:00 For concurrent requests, declare separate XmlHttpRequest objects for each request. For example, for request to get data from an SQL table1, use something like this... xmlHttpObject1.Onreadystatechange = functionfromTable1(); and to get data from another table (say table2) at the same time, use xmlHttpObject2.Onreadystatechange = functionfromTable2(); Ofcourse, the XmlHttpObject needs to be opened
How to control how long an Ajax request may last? 2008-06-25 00:24:00 Use the ScriptManager's AsyncPostBackTimeout Property. For example, if you want to debug a web page but you get an error that the page request has timed out, you may set where the value specified is in seconds.
What are the modes of updation in an UpdatePanel? What are Triggers of an UpdatePanel? 2008-06-25 00:23:00 An UpdatePanel has a property called UpdateMode. There are two possible values for this property: 1) Always 2) Conditional If the UpdateMode property is set to "Always", the UpdatePanel control’s content is updated on each postback that starts from anywhere on the webpage. This also includes asynchronous postbacks from controls that are inside other UpdatePanel controls, and postbacks from contr Read more:Triggers
What is an UpdatePanel Control? 2008-06-21 00:24:00 An UpdatePanel control is a holder for server side controls that need to be partial postbacked in an ajax cycle. All controls residing inside the UpdatePanel will be partial postbacked. Read more:Control