Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact


Techniques for asynchronous server communication have been around for years. What makes Ajax a “new” approach?
2008-02-07 01:23:00
What’s new is the prominent use of these techniques in real-world applications to change the fundamental interaction model of the Web. Ajax is taking hold now because these technologies and the industry’s understanding of how to deploy them most effectively have taken time to develop.
Read more: server , communication , makes

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


What is the minimum version of PHP that needs to be running in order to use HTML_AJAX?
2008-01-31 22:44:00
The oldest PHP version i've fully tested HTML_AJAX is 4.3.11, but it should run on 4.2.0 without any problems. (Testing reports from PHP versions older then 4.3.11 would be appreciated.)
Read more: running

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

How to we create an XmlHttpRequest object for Internet Explorer? How is this different for other browsers?
2008-06-09 00:13:00
For Internet Explorer , an ActiveXObject is used for declaring an XmlHttpRequest object in Javascript. //Code as below for IE:xmlHttpObject = new ActiveXObject("Msxml2.XMLHTTP");//For Other browsers , code as below:xmlHttpObject = new XMLHttpRequest();Note that XmlHttpObject used above is simply a variable that holds the XmlHttpRequest object for the respective browsers.
Read more: different , create

Can AJAX technology work on web servers other than IIS?
2008-06-09 00:12:00
Yes, AJAX is a technology independent of web server the web application is hosted on. Ajax is a client (browser) technology.
Read more: servers

Can Ajax be implemented in browsers that do not support the XmlHttpRequest object?
2008-06-09 00:11:00
Yes. This is possible using remote scripts.
Read more: browsers , implemented

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 Control Toolkit 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

Can we override the EnablePartialRendering property of the ScriptManager class?
2008-06-16 23:32:00
Yes. But this has to be done before the init event of the page (or during runtime after the page has already loaded). Otherwise an InvalidOperationException will be thrown.
Read more: property , class

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

What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
2008-06-21 00:23:00
When a script is registered by the ScriptManager class, a type/key pair is created to uniquely identify the script. For identification purposes, the type/key pair name is always unique for dentifying a script. Hence, there may be no duplication in type/key pair names.


Page 3 of 4 « < 2 3 4 > »
eXTReMe Tracker