Interview FAQs

FAQs of level

The following are the rules and regulations that are necessary to follow while creating a well-formed XML document:

  • Every start tag must end with an end tag.
  • A root element should be included for enclosing other child elements.
  • XML tags are case-sensitive; therefore, start and end tags must be of same spelling and the casing should also be the same.
  • XML empty tags are necessary to close with a forward slash (/).
  • XML attributes values are necessary to enclose within double quotation marks.
  • XML tags must be properly nested. It means starting tags should be closed in the reverse order in which they present.
Initially, no files required to use the Ajax in your website. But to manage your Ajax call in better way, you can use JS library which world used to use.
JavaScript does not have threads. JavaScript functions are called when an event happens in a page such as the page is loaded, a mouse click, or a form element gains focus. You can create a timer using the setTimeout which takes a function name and time in milliseconds as arguments. 

Use the ScriptManager 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. 

For all three, a script element is rendered after the opening form tag. Following are the differences:

  • RegisterClientScriptBlock - The script is specified as a string parameter. 
  • RegisterClientScriptInclude - The script content is specified by setting the src attribute to a URL that points to a script file. 
  • RegisterClientScriptResource - The script content is specified with a resource name in an assembly. The src attribute is automatically populated with a URL by a call to an HTTP handler that retrieves the named script from the assembly.

No. It is not possible to use multiple ScriptManager control in a web page. In fact, any such requirement never comes in because a single ScriptManager control is enough to handle the objects of a web page.

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.

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.

The ASP.NET Ajax Extensions are set of Ajax-based controls that work in ASP.NET 2 (or above) based applications. Of Course,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.0 The 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 Ajax, simply download .NET 3.5 Framework.
  • onreadyStateChange - This function is used to process the reply from the web server.
  • readyState - This property holds the response status of the web server. There are 5 states:

  1. request not yet initialized
  2. request now set
  3. request sent 
  4. request processing
  5. request completes

PreviousDisplaying 3 of 6Next
1 2 3 4 5 6
Need Help? Contact Us.

Log in


Forgot password?


New User