Which action should you perform?

You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.
Which action should you perform? (Each answer presents part of the solution. Choose two)

You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.
Which action should you perform? (Each answer presents part of the solution. Choose two)

A.
Create a class that inherits HtmlTextWriter and that can emit the new markup.

B.
Create a class that inherits StreamWriter and that can emit the new markup.

C.
Reference the class in the <capabilities> element of the new device’s browser definition file.

D.
Reference the class in the <controlAdapters> element of the new device’s browser definition file.



Leave a Reply 0

Your email address will not be published. Required fields are marked *