MS-NET-Framework-2-0-Web-based-Client-Development-(70-528-VB).pdf - Microsoft 70-528-VB MS.NET Framework 2.0-Web-based Client Development

MS-NET-Framework-2-0-Web-based-Client-Development-(70-528-VB).pdf

This preview shows page 1 - 4 out of 12 pages.

70-528-VB Microsoft MS.NET Framework 2.0-Web-based Client Development
Image of page 1
You are creating a Microsoft ASP.NET Web application that uses Web Parts. You need to ensure that users can modify the following attributes of a Web Part control on a Web page: Title Height and width Border Collapsed state The zone that contains the control Which code fragment should you add to the Web page? A. <asp:EditorZone ID="EditorZone1" runat="server"> <ZoneTemplate><asp:PropertyGridEditorPart ID="EditorPart1" runat="server" /> </ZoneTemplate></asp:EditorZone> B. <asp:EditorZone ID="EditorZone1" runat="server"> <ZoneTemplate><asp:AppearanceEditorPart ID="EditorPart1" runat="server"/> <asp:LayoutEditorPart ID="EditorPart2"runat="server" /> </ZoneTemplate> </asp:EditorZone> C. <asp:EditorZone ID="EditorZone1" runat="server"> <ZoneTemplate><asp:BehaviorEditorPart ID="EditorPart1" runat="server" /> <asp:LayoutEditorPart ID="EditorPart2"runat="server" /> </ZoneTemplate> </asp:EditorZone> D. <asp:EditorZone ID="EditorZone1" runat="server"> <ZoneTemplate><asp:AppearanceEditorPart ID="EditorPart1" runat="server"/> <asp:BehaviorEditorPart ID="EditorPart2"runat="server" /> </ZoneTemplate> </asp:EditorZone> Answer: B QUESTION: 150 You are creating a Microsoft ASP.NET Web application that uses Web Parts. You need to ensure that users can modify the properties of Web Part controls. You also need to ensure that modifications are persisted. What should you do? A. ·Apply the [Personalizable(false)] and [WebBrowsable(false)] attributes to the public properties of the control. Add the following code fragment to the Web page. B. ·Apply the [Personalizable(true)] and [WebBrowsable(true)] attributes to the public properties of the control. Add the following code fragment to the Web page.
Image of page 2
<ZoneTemplate><asp:BehaviorEditorPart ID="EditorPart1" runat="server" /> </ZoneTemplate> </asp:EditorZone> C. ·Apply the [Personalizable(true)] and [WebBrowsable(true)] attributes to the public properties of the control. Add the following code fragment to the Web page. <asp:EditorZone ID="EditorZone1" runat="server"> <ZoneTemplate><asp:PropertyGridEditorPart ID="EditorPart1" runat="server" /> </ZoneTemplate></asp:EditorZone>
Image of page 3
Image of page 4

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture