Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

AJAX - QUESTIONS : PART 4

Which control can be used to update only the portion of the page?

UpdatePanel

ScriptManager

AsyncPostBackTrigger

None of the above

SHOW ANSWER

How many types of triggers are present in update panel?

2

3

4

5

SHOW ANSWER

All of the following are controls of Ajax except

ScriptManager

ScriptManagerProxy

UpdateData

UpdatePanel

SHOW ANSWER

Match 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 ANSWER

The 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 ANSWER

A 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 ANSWER

Which 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 ANSWER

How many 'ScriptManager' control can be added on a ASP.NET web page?

Only One

More than One

Only Two

 None of the above

SHOW ANSWER

What are the advantages of AJAX?

AJAX is a platform-independent technology

  It provides partial-page updates

 Improved performance

All of the above

SHOW ANSWER

What are the disadvantages of AJAX?

 Dependent on JavaScript

Security issues

Debugging is difficult

All of the above

SHOW ANSWER

AnUpdatePanel 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 ANSWER

Which control is required for every page that have AJAX Extensions for ASP.NET?

UpdatePanel

ScriptManager

 ContentPanel

 None of the above

SHOW ANSWER

You 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
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in