PrepAway - Latest Free Exam Questions & Answers

Which code segment should you include in the Web Part?

You need to create a Web Part that hides the out-of-the-box Ribbon on the current page. Which
code segment should you include in the Web Part?

PrepAway - Latest Free Exam Questions & Answers

A.
this.Page.FindControl(“SPRibbon”).Visible = false

B.
SPRibbon.GetCurrent(me.Page).CommandUIVisible = false

C.
SPRibbon.GetCurrent(me.Page).Dispose()

D.
this.Page.FindControl(“SPRibbon”).Dispose()


Leave a Reply