adplus-dvertising
frame-decoration

Question

Which method is used to dynamically register client script from code?

a.

Page.ClientScript.RegisterClientScriptBlock

b.

RegisterScript

c.

Page.ClientScript

d.

None of the above

Posted under Web Technologies

Answer: (a).Page.ClientScript.RegisterClientScriptBlock

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which method is used to dynamically register client script from code?

Similar Questions

Discover Related MCQs

Q. Which of the following is true ?

1. AJAX is a platform-independent technology
2. AJAX can work with web application
3. AJAX can only work with ASP.NET
4. AJAX is a platform-dependent technology

Q. Which control is required of every AJAX page to manage the JavaScript files sent to the client and the communication between client and server?

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

Q. Which of the following technology is not used by Ajax?

Q. How many types of triggers are present in update panel?

Q. All of the following are controls of Ajax except

Q. Match the following List 1 to List 2:

a. UpdatePanel ------------------ i. If Master Page contains a ScriptManager then content page will use this control.
b. UpdateProgress -------------- ii. ContentTemplate
c. Timer -------------------------- iii. ProgressTemplate
d. ScriptManagerProxy -------- iv. Tick Event

Q. The UpdatePanel supports two types of triggers: AsyncPostBackTrigger and PostBackTrigger. Choose the correct option regarding working of these triggers.

Q. 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?

Q. Which property and method of the Page object do you use to register client script dynamically from code?

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

Q. What are the advantages of AJAX?

Q. 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.

Q. ScriptManager control is used to dynamically register client script from code.

Q. What are the disadvantages of AJAX?