Microsoft
70-515 · Question #108
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…
The correct answer is C. OnDataBinding. See the full explanation below for the reasoning.
Question
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?
Options
- AOnLoad
- BConstruct
- COnDataBinding
- DSaveControlState
How the community answered
(65 responses)- A5% (3)
- B3% (2)
- C80% (52)
- D12% (8)
Community Discussion
No community discussion yet for this question.