Which method of the Page class searches the page naming container for a server control with a particular ident
Which method of the Page class searches the page naming container for a server control with a
particular identifer?
Which control allows you to bind to data items that are returned from a data source and display them?
Which control allows you to bind to data items that are returned from a data source and display
them?
Which class defines the contract that ASP.NET implements to provide membership services using custom membershi
Which class defines the contract that ASP.NET implements to provide membership services using
custom membership providers?
Which of the following code segments will you use?
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You create an ASP.NET Web application
using .NET Framework 4.0. The Web application connects to a SQL Server database. You use the
ADO.NET Entity Framework to handle persistence-ignorant entities. You create an ObjectContext
object named ObjContext. Subsequently, you change properties on numerous entities. You are
required to save the changed entity values in the SQL Server database. Which of the following code
segments will you use?
Which of the following is the correct collection of build events?
Which of the following is the correct collection of build events?
Which utility allows you to pre-compile and publish your Web site to a new location?
Which utility allows you to pre-compile and publish your Web site to a new location?
Which method of the ChildActionExtensions class calls a child action method and renders the result inline in t
Which method of the ChildActionExtensions class calls a child action method and renders the result
inline in the parent view?
What will you do to accomplish this?
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You create an ASP.NET Web application
using .NET Framework 4.0. The ASP.NET application is used to track employee performance. It uses
Microsoft Windows authentication. Employees are members of a group named Employees.
Managers are members of a group named Managers. The root folder of the application is named
Details. The Details folder displays information about employees‘ performance. The Details folder
has a subfolder named MoreDetails. You need to ensure that employees and managers can access
pages stored in the Details folder. However, only managers can access pages stored in the
MoreDetails folder. You make the following entries in the Web.config file in the Details folder. (Line
numbers are given for reference only.)
1 <authentication mode=”Windows” / >
2 <authorization>
3 <allow roles=”Employees, Managers” / >
4 <deny users=”*” />
5 </authorization>
You make the following entries in the Web.config file in the MoreDetails folder. (Line numbers are
given for reference only.)
1 <authentication=”Windows” />
2 <authorization>
3 <allow roles=”Managers” />
4 <deny users=”*” />
5 </authorization>
When managers try to access pages stored in the MoreDetails folder, they receive the following
error message:
“An error occurred during the processing of a configuration file required to service this request.”
You must ensure that managers are able to access pages stored in the MoreDetails folder. What will
you do to accomplish this?
Which event of the GridView class occurs when the Edit button of a row is clicked, but before the GridView con
Which event of the GridView class occurs when the Edit button of a row is clicked, but before the
GridView control enters edit mode?
What will you do?
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You create an ASP.NET Web application
using .NET Framework 4.0. You create a Web page in the application. The Web page will get large
sets of data from a data source. You add a DataPager control to the page. You are required to display
navigation controls that enable you to create a custom paging Ul for the DataPager control. What
will you do?