Which control can be used to update only the portion of the page?
UpdatePanel
ScriptManager
AsyncPostBackTrigger
None of the above
SHOW ANSWERHow many types of triggers are present in update panel?
2
3
4
5
SHOW ANSWERAll of the following are controls of Ajax except
ScriptManager
ScriptManagerProxy
UpdateData
UpdatePanel
SHOW ANSWERMatch the following List 1 to List 2:
a. UpdatePanel b. UpdateProgress c. Timer d. ScriptManagerProxy |
i. If Master Page contains a ScriptManager then content page will use this control. ii. ContentTemplate iii. ProgressTemplate iv. Tick Event |
a - iii b - ii c - iv d - i
a - ii b - iii c - iv d - i
a - i b - ii c - iv d - iii
a - i b - ii c - iii d – iv
SHOW ANSWERThe UpdatePanel supports two types of triggers: syncPostBackTrigger and PostBackTrigger. Choose the correct option regarding working of these triggers.
AsyncPostBackTrigger causes an asynchronous (Ajax) postback.
PostBackTrigger causes a normal entire-page postback.
AsyncPostBackTrigger causes a normal entire-page postback.
Both a and b are correct
SHOW ANSWERA Master Page contains a ScriptManager control and a user wants the AJAX functionality on content page then which control is necessary on content page?
AsyncPostBackTrigger
ScriptManager
ScriptManagerProxy
None of the above
SHOW ANSWERWhich property and method of the Page object do you use to register client script dynamically from code?
ScriptManager control is used to dynamically register client script from code.
The Page.ClientScript.RegisterClientScriptBlock is used to dynamically register client script from code.
ScriptManagerProxy control is used to dynamically register client script from code.
None of the above.
SHOW ANSWERHow many 'ScriptManager' control can be added on a ASP.NET web page?
Only One
More than One
Only Two
None of the above
SHOW ANSWERWhat are the advantages of AJAX?
AJAX is a platform-independent technology
It provides partial-page updates
Improved performance
All of the above
SHOW ANSWERWhat are the disadvantages of AJAX?
Dependent on JavaScript
Security issues
Debugging is difficult
All of the above
SHOW ANSWERAnUpdatePanel control defined on a page. Button control is placed outside of the UpdatePanel. How to cause the UpdatePanel to execute an update?
Set the Trigger attribute of the UpdatePanel to the ID of the Button control.
Set the AsyncPostBackTrigger attribute of the Button control to the ID of theUpdatePanel.
Place the button control on the update panel without script manager.
Add an AsyncPostBackTrigger control to the Triggers section of the UpdatePanel. Set the ControlID attribute of the AsyncPostBackTrigger control to the ID of the Button control.
SHOW ANSWERWhich control is required for every page that have AJAX Extensions for ASP.NET?
UpdatePanel
ScriptManager
ContentPanel
None of the above
SHOW ANSWERYou are writing a page that contains an UpdatePanel for partial-page updates. You want that user should get the message “Processing is going on, please wait.” that the update is processing only if the update takes longer than 5 seconds. Which actions should you take?
Add a ProgressBar control to the page. Set the Interval property to 5000. Set the text property as “Processing is going on, please wait.”
Add a Timer control to the page. Set the Interval property to 5000. Set its text property to Processing is going on, please wait.”
Add an UpdateProgress control to the UpdatePanel. Set its DisplayAfter property to 5000. Set its ProgressTemplate contents to read “Processing is going on, please wait.”
None of the above.
SHOW ANSWER