// Token: 0x06002CB0 RID: 11440 RVA: 0x000FA32C File Offset: 0x000F852C private void InternalLoadFresh(bool renderHeaders) { try { int num = (int)base.GetParameter("SR"); int rowCount = this.GetRowCount(); if (num < 0) { throw new OwaInvalidRequestException("StartRange cannot be less than 0"); } VirtualListView2 listView = this.GetListView(); listView.LoadData(num, rowCount); listView.RenderData(this.Writer); listView.RenderChunk(this.Writer); this.RenderExtraData(listView); if (renderHeaders) { listView.RenderHeaders(this.Writer); } if (base.IsParameterSet("fltr")) { this.PersistFilter(); } } finally { this.EndProcessEvent(); } if (Globals.ArePerfCountersEnabled) { OwaSingleCounters.MailViewRefreshes.Increment(); } }
// Token: 0x06002CA5 RID: 11429 RVA: 0x000FA188 File Offset: 0x000F8388 protected void InternalSort() { try { ExTraceGlobals.MailCallTracer.TraceDebug((long)this.GetHashCode(), "VirtualListViewEventHandler.InternalSort"); int rowCount = this.GetRowCount(); this.PersistSort(); VirtualListView2 listView = this.GetListView(); listView.UnSubscribeForFolderContentChanges(); if (base.IsParameterSet("SId")) { OwaStoreObjectId seekId = this.GetSeekId(); listView.LoadData(seekId, SeekDirection.Next, rowCount); } else { listView.LoadData(0, rowCount); } listView.RenderData(this.Writer); listView.RenderChunk(this.Writer); this.RenderExtraData(listView); listView.RenderHeaders(this.Writer); this.RenderNewSelection(listView); } finally { this.EndProcessEvent(); } }
// Token: 0x06002CA7 RID: 11431 RVA: 0x000FA260 File Offset: 0x000F8460 protected void InternalTypeDownSearch() { try { int rowCount = this.GetRowCount(); string text = (string)base.GetParameter("td"); if (text.Equals(string.Empty, StringComparison.Ordinal)) { throw new OwaInvalidRequestException("Type down search string cannot be empty."); } Column column = ListViewColumns.GetColumn(this.ListViewState.SortedColumn); if (!column.IsTypeDownCapable) { throw new OwaInvalidRequestException("Type down search is not supported."); } VirtualListView2 listView = this.GetListView(); listView.LoadData(text, rowCount); listView.RenderData(this.Writer); listView.RenderChunk(this.Writer); this.RenderExtraData(listView); } finally { this.EndProcessEvent(); } }
// Token: 0x06002E92 RID: 11922 RVA: 0x0010A020 File Offset: 0x00108220 protected override void RenderExtraData(VirtualListView2 listView) { base.RenderExtraData(listView); if (!this.IsConversationView) { return; } OwaStoreObjectId expId = (OwaStoreObjectId)base.GetParameter("expId"); this.InternalExpandConversation(expId); }
protected override IListView CreateListView(ColumnId sortedColumn, SortOrder sortOrder) { TaskVirtualListView taskVirtualListView = new TaskVirtualListView(base.UserContext, "divVLV", sortedColumn, sortOrder, base.Folder, TaskView.GetFilter(this.filterType), (base.Folder is SearchFolder) ? SearchScope.AllFoldersAndItems : SearchScope.SelectedFolder, this.CanCreateItem); VirtualListView2 virtualListView = taskVirtualListView; string name = "iFltr"; int num = (int)this.filterType; virtualListView.AddAttribute(name, num.ToString(CultureInfo.InvariantCulture)); taskVirtualListView.LoadData(0, 50); return(taskVirtualListView); }
// Token: 0x0600277B RID: 10107 RVA: 0x000E07CC File Offset: 0x000DE9CC protected override IListView CreateListView(ColumnId sortedColumn, SortOrder sortOrder) { AddressBookVirtualListView addressBookVirtualListView = new AddressBookVirtualListView(base.UserContext, "divVLV", this.IsMultiLine, ContactView.viewType[(int)this.location], sortedColumn, sortOrder, this.isPaaPkr, this.isMobilePicker, base.Folder, ContactView.GetFilter(this.filter)); VirtualListView2 virtualListView = addressBookVirtualListView; string name = "iFltr"; int num = (int)this.filter; virtualListView.AddAttribute(name, num.ToString(CultureInfo.InvariantCulture)); addressBookVirtualListView.LoadData(0, 50); return(addressBookVirtualListView); }
// Token: 0x06002CB1 RID: 11441 RVA: 0x000FA3DC File Offset: 0x000F85DC private void LoadNextOrPrevious(SeekDirection seekDirection) { try { ObjectId adjacentId = (ObjectId)base.GetParameter("AId"); int rowCount = this.GetRowCount(); VirtualListView2 listView = this.GetListView(); listView.LoadAdjacent(adjacentId, seekDirection, rowCount); listView.RenderData(this.Writer); listView.RenderChunk(this.Writer); this.RenderExtraData(listView); } finally { this.EndProcessEvent(); } }
// Token: 0x06002CB3 RID: 11443 RVA: 0x000FA4E0 File Offset: 0x000F86E0 private void RenderNewSelection(VirtualListView2 listView) { MessageVirtualListView2 messageVirtualListView = listView as MessageVirtualListView2; OwaStoreObjectId owaStoreObjectId; if (messageVirtualListView != null && messageVirtualListView.GetNewSelectionId() != null) { owaStoreObjectId = messageVirtualListView.GetNewSelectionId(); } else { owaStoreObjectId = this.GetNewSelection(); } if (owaStoreObjectId != null) { this.Writer.Write("<div id=\"nwSel\" sId=\""); Utilities.HtmlEncode(owaStoreObjectId.ToString(), this.Writer); this.Writer.Write("\"></div>"); } }
// Token: 0x06002CB2 RID: 11442 RVA: 0x000FA44C File Offset: 0x000F864C private void SeekNextOrPrevious(SeekDirection seekDirection) { try { ObjectId seekRowId = (ObjectId)base.GetParameter("SId"); int rowCount = this.GetRowCount(); VirtualListView2 listView = this.GetListView(); listView.LoadData(seekRowId, seekDirection, rowCount); listView.RenderData(this.Writer); listView.RenderChunk(this.Writer); this.RenderExtraData(listView); if (base.IsParameterSet("nwSel") && (bool)base.GetParameter("nwSel")) { this.RenderNewSelection(listView); } } finally { this.EndProcessEvent(); } }
// Token: 0x06002CA9 RID: 11433 RVA: 0x000FA30C File Offset: 0x000F850C protected virtual void RenderExtraData(VirtualListView2 listView) { }