Microsoft
70-573 · Question #215
70-573 Question #215: Real Exam Question with Answer & Explanation
Sign in or unlock 70-573 to reveal the answer and full explanation for question #215. The question stem and answer options stay visible for context.
Question
You are creating an application. You develop a custom control that renders a contextual tab. The control contains the following code segment. (Line numbers are included for reference only.) 01Protected Overloads Overrides Sub OnPreRender(ByVal e As EventArgs) 02 Dim curRibbon As SPRibbon = SPRibbon.GetCurrent(Me.Page) 03 04 curRibbon.MakeContextualGroupInitiallyVisible ("SP.Ribbon.ContextualGroup", String.Empty) 05 MyBase.OnPreRender(e) 06 End Sub You need to ensure that when the custom control is rendered, the custom contextual tab appears in the Ribbon. Which code segment should you add at line 03?
Options
- AcurRibbon.Enabled = true
- BcurRibbon.MakeRTEContextualTabsAvailable("SP.Ribbon.ContextualTab ")
- CcurRibbon.MakeTabAvailable("SP.Ribbon.ContextualTab")
- DcurRibbon.Visible = true
Unlock 70-573 to see the answer
You've previewed enough free 70-573 questions. Unlock 70-573 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.