Question:You want to consume a user control on a page. However, you do not know the number of instances you want to create. This information will be available at run time. Therefore, you want to dynamically create these controls. Which actions should you take? (Chooseall that apply.) 

A Add the controls by using the Controls.Add method of the page instance. 

B Add the controls by using the Controls.Add method of the form instance. 

C Call the form’s LoadControl method for each control you want to add to the page. 

D Call the page’s LoadControl method for each control you want to add to the page. 

+ Answer
+ Report
Total Preview: 1054

Copyright © 2024. Powered by Intellect Software Ltd