ASP.NET AJAX - .NET Interview Questions and Answers
What are the different ways to pass parameters to the server?
We can pass parameters to the server using either the GET or POST method. The following code snippets show the example of both the methods:
- Get: XmlHttpObject.Open("GET", "file1.txt", true);
- Post: XmlHttpObject.Open("POST", "file2.txt", true);
What are the extender controls?
Describe the AccordionExtender control.
The AccordionExtender control is similar to the CollapsiblePanelExtender control. It allows you to group multiple collapsible panels in a single control. At the same time, it also manages the collapsed and expanded state of each panel; therefore, expanding one panel at a time. In other words, the AccordionExtender control does not support expanding two or more panels simultaneously. Instead, the header templates of all the panels are always visible so that you can click on any of them to display the hidden contents. By default, the AccordionExtender control opens with one panel as expanded.