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?

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?

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 0

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