What steps achieves this?

Code exhibit:

There is a ASP.NET Web site named PassGuideWeb.
PassGuideWeb has a master page PassGuide.master.
The code exhibit has code that is included for PassGuide.master.
A new ASP.NET page named PassGuide1 is created.
PassGuide1 has PassGuide.master as the master page.
You are required to show the PassGuide.master’s PGStr property in the PGDisplay Label
control, which is included in the PassGuide1 page.
What steps achieves this? Select three.

Code exhibit:

There is a ASP.NET Web site named PassGuideWeb.
PassGuideWeb has a master page PassGuide.master.
The code exhibit has code that is included for PassGuide.master.
A new ASP.NET page named PassGuide1 is created.
PassGuide1 has PassGuide.master as the master page.
You are required to show the PassGuide.master’s PGStr property in the PGDisplay Label
control, which is included in the PassGuide1 page.
What steps achieves this? Select three.

A.
Add code:
PassGuideMaster custom = this.Master as PassGuideMaster;
LabelPG.Text = custom.PGStr

B.
Add code:
PassGuideMaster custom = this.Parent as PassGuideMaster;
LabelPG.Text = custom.PGStr;

C.
Add code:
Label LabelPG = Page.FindControl(“LabelPG”) as Label; LabelPG.Text = this.PGStr;

D.
Add code:
Label LabelPG = Master.FindControl(“LabelPG”) as Label; LabelPG.Text = this.PGStr;

E.
..to the Page_load method of…

F.
..to the Page_focus method of…

G.
..to the Page_update method of…

H.
..the page code-behind file.

I.
..the PassGuide.Master.cs code-behind file.



Leave a Reply 0

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