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:
Dim custom As PassGuideMaster = Me.Master
LabelPG.Text = custom.PGStr

B.
Add code:
Dim custom As PassGuideMaster = Me.Parent
LabelPG.Text = custom.PGStr

C.
Add code:
Dim LabelPG As Label = Page.FindControl(“LabelPG”)
LabelPG.Text = Me.PGStr

D.
Add code:
Dim LabelPG As Label = Master.FindControl(“LabelPG”)
LabelPG.Text = Me.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.vb code-behind file.



Leave a Reply 0

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