What should you do?

Your company uses an ASP.NET Web site. You create a Microsoft Office
InfoPath form named MyForm. You are creating a custom control that is derived from the
XMLFormView class. The custom control will display MyForm within an ASP.NET page on the Web
site. You need to ensure that MyForm can be displayed within an ASP.NET page on the Web site.

What should you do?

Your company uses an ASP.NET Web site. You create a Microsoft Office
InfoPath form named MyForm. You are creating a custom control that is derived from the
XMLFormView class. The custom control will display MyForm within an ASP.NET page on the Web
site. You need to ensure that MyForm can be displayed within an ASP.NET page on the Web site.

What should you do?

A.
Set the xsnLocation property of the custom control to MyForm.xsn.

B.
Set the xmlLocation property of the custom control to MyForm.xml.

C.
Create an OnInitialize event for the custom control and set XPathNavigator to MyForm.xsn.

D.
Create an OnPreRender event for the custom control and set XPathNavigator to MyForm.xsn.



Leave a Reply 0

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