PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

You review the design of an ASP.NET Web form that collects text input.

The Web form design has the following features:

– It uses the single-file page model that has script blocks which specify the runat = “serverN attribute.
– It includes a TextBox control.
– It includes a LinkButton control to submit the Web form.
– It includes a RegularExpressionValidator control that validates the text input.

You need to ensure that the Web form functions properly in browsers that have JavaScript support disabled.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Convert the Web form from the single-file page model to the code-behind page model.

B.
Replace the RegularExpressionValidator control with a custom server-side validation that calls the Page.SetFocus method if the input does not match the required format.

C.
Replace the TextBox control with an HtmllnputText control.

D.
Replace the LinkButton control with an HtmllnputSubmit control.

One Comment on “What should you do?


Leave a Reply