PrepAway - Latest Free Exam Questions & Answers

Wich @ Page directive should you use?

You are implementing an ASP.NET Web page
The page includes several controls, but only a GridView requires view state. You set the GridView…
You need to ensure that the page will omit unneededview state.
Wich @ Page directive should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
<% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %>

B.
<% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %>

C.
<% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %>

D.
<% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %>


Leave a Reply