public void GetPublicFolderSecondaryNavigationFilter()
        {
            ExTraceGlobals.MailCallTracer.TraceDebug((long)this.GetHashCode(), "NavigationEventHandler.GetSecondaryNavigationFilter");
            string containerClass = (string)base.GetParameter("t");

            if (ObjectClass.IsCalendarFolder(containerClass))
            {
                OwaStoreObjectId folderId = (OwaStoreObjectId)base.GetParameter("fId");
                using (CalendarFolder folder = Utilities.GetFolder <CalendarFolder>(base.UserContext, folderId, new PropertyDefinition[]
                {
                    ViewStateProperties.CalendarViewType,
                    ViewStateProperties.DailyViewDays
                }))
                {
                    this.Writer.Write("<div id=divPFCalFlt style=\"display:none\">");
                    RenderingUtilities.RenderSecondaryNavigationDatePicker(folder, this.Writer, "divErrPfDp", "divPfDp", base.UserContext);
                    new MonthPicker(base.UserContext, "divPfMp").Render(this.Writer);
                    this.Writer.Write("</div>");
                    return;
                }
            }
            if (ObjectClass.IsContactsFolder(containerClass))
            {
                ContactView.RenderSecondaryNavigationFilter(this.Writer, "divPFCntFlt");
                return;
            }
            if (ObjectClass.IsTaskFolder(containerClass))
            {
                TaskView.RenderSecondaryNavigationFilter(this.Writer, "divPFTskFlt");
            }
        }
예제 #2
0
 // Token: 0x06002781 RID: 10113 RVA: 0x000E096C File Offset: 0x000DEB6C
 internal static void RenderSecondaryNavigation(TextWriter output, UserContext userContext, bool isPicker)
 {
     if (output == null)
     {
         throw new ArgumentNullException("output");
     }
     if (userContext == null)
     {
         throw new ArgumentNullException("userContext");
     }
     if (!isPicker)
     {
         ContactView.RenderSecondaryNavigationFilter(output, "divCntFlt");
     }
     NavigationHost.RenderNavigationTreeControl(output, userContext, NavigationModule.Contacts);
 }