Which two actions should you perform?

You are creating a Microsoft Windows SharePoint Services site. Windows SharePoint Services is located on the hard disk in the default IIS Web root folder.

A custom ASPX page is displayed on a SharePoint site. A user control named userinfo.ascx is also available.

You need to deploy the user control. You also need to display the control on the ASPX page.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You are creating a Microsoft Windows SharePoint Services site. Windows SharePoint Services is located on the hard disk in the default IIS Web root folder.

A custom ASPX page is displayed on a SharePoint site. A user control named userinfo.ascx is also available.

You need to deploy the user control. You also need to display the control on the ASPX page.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.
Copy the userinfo.ascx file to C:\InetPub\wwwroot\webresources\ControlTemplates.

B.
Copy the userinfo.ascx file to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\ControlTemplates\.

C.
Add the following line to the ASPX page.
<% Reference Control = “~/_controltemplates/userinfo.ascx” %>

D.
Add the following line to the ASPX page.
<% Reference Control =”~/webresources/ControlTemplates/userinfo.ascx” %>



Leave a Reply 0

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