Microsoft
70-573 · Question #263
70-573 Question #263: Real Exam Question with Answer & Explanation
Sign in or unlock 70-573 to reveal the answer and full explanation for question #263. 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.) 01 protected override void OnPreRender(EventArgs e) 02 { 03 SPRibbon curRibbon = SPRibbon.GetCurrent(this.Page); 04 05 curRibbon.MakeContextualGroupInitiallyVisible("SP.Ribbon.ContextualGrou p", string.Empty); 06 base.OnPreRender(e); 07 } 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 04?
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.