Which method of the FieldTemplateUserControl class should you override in the BooleanField class?

You are developing an ASP.NET Dynamic Data Web application.
Boolean fields must display as Yes or No instead of as a check box.
You replace the markup in the default Boolean field template with the following markup.

<asp:Label runat=”server” ID=”label” />

You need to implement the code that displays Yes or No.
Which method of the FieldTemplateUserControl class should you override in the BooleanField class?

You are developing an ASP.NET Dynamic Data Web application.
Boolean fields must display as Yes or No instead of as a check box.
You replace the markup in the default Boolean field template with the following markup.

<asp:Label runat=”server” ID=”label” />

You need to implement the code that displays Yes or No.
Which method of the FieldTemplateUserControl class should you override in the BooleanField class?

A.
OnLoad

B.
Construct

C.
OnDataBinding

D.
SaveControlState



Leave a Reply 1

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


Varun Sapre

Varun Sapre

Ans: C