You create an ASP.NET page named Customecaspx. Customeizaspx contains a Web user control that displays a drop—down list box of Cities. The Web user control is named CityList, and it is defined in a file named CityList.ascx. The name of the DropDownList control in Cityascx is CuCity. You try to add code to the Page.Load event handler for Customenaspx. but you discover that you cannot access CuCity from code in Customeraspx. You want to ensure that code within Customeraspx can access properties of CuCity.
What should you do?
Correct Answer:
in the code-behind file for CityListascx. add the following line of code:
Public CuCity As DropDownList
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More ASP.NET MCQ Questions