protected void FilterResults(object sender, FlightQueryEventArgs e) { mfbQueryDescriptor.DataSource = mfbTotalSummary1.CustomRestriction = mfbSearchForm1.Restriction; mfbQueryDescriptor.DataBind(); RefreshLogbookData(); mfbTotalSummary1.DataBind(); mvSearch.SetActiveView(vwDescriptor); }
protected void FilterResults(object sender, FlightQueryEventArgs e) { mfbQueryDescriptor.DataSource = mfbTotalSummary1.CustomRestriction = mfbSearchForm1.Restriction; mfbQueryDescriptor.DataBind(); RefreshLogbookData(); mfbTotalSummary1.DataBind(); mvSearch.SetActiveView(vwDescriptor); lnkReturnToFlights.NavigateUrl = String.Format(CultureInfo.InvariantCulture, "~/Member/LogbookNew.aspx?fq={0}", HttpUtility.UrlEncode(mfbSearchForm1.Restriction.ToBase64CompressedJSONString())); }
protected void mfbSearchForm1_Reset(object sender, FlightQueryEventArgs e) { if (e == null) { throw new ArgumentNullException("e"); } mfbSearchForm1.Restriction = e.Query; mvSearch.SetActiveView(vwDescriptor); }
protected void mfbSearchForm1_Reset(object sender, FlightQueryEventArgs e) { if (e == null) { throw new ArgumentNullException(nameof(e)); } mfbSearchForm1.Restriction = e.Query; mvSearch.SetActiveView(vwDescriptor); lnkReturnToFlights.NavigateUrl = "~/Member/LogbookNew.aspx"; }
public void ClearForm(object sender, FlightQueryEventArgs fqe) { if (fqe == null) { throw new ArgumentNullException("fqe"); } mfbSearchForm1.Restriction = fqe.Query; UpdateDescription(); ShowResults(sender, fqe); }
protected void ShowResults(object sender, FlightQueryEventArgs fqe) { if (fqe == null) { throw new ArgumentNullException("fqe"); } mfbSearchForm1.Restriction = fqe.Query; mvQuery.ActiveViewIndex = 0; // go back to the results. UpdateDescription(); RefreshFormData(); }
protected void ShowResults(object sender, FlightQueryEventArgs e) { if (e == null) { throw new ArgumentNullException(nameof(e)); } mfbTotalSummary1.CustomRestriction = Restriction = e.Query; mvQuery.ActiveViewIndex = 0; // go back to the results. UpdateDescription(); QuerySubmitted?.Invoke(sender, e); }
protected void ShowResults(object sender, FlightQueryEventArgs fqe) { if (fqe == null) { throw new ArgumentNullException(nameof(fqe)); } mfbSearchForm1.Restriction = fqe.Query; UpdateDescription(); RefreshFormData(); if (Int32.TryParse(hdnLastViewedPaneIndex.Value, out int idxLast)) { accReports.SelectedIndex = idxLast; } }
protected void ShowResults(object sender, FlightQueryEventArgs e) { mvVisitedAirports.SetActiveView(vwVisitedAirports); UpdateDescription(); RefreshData(true); }
public void ClearForm(object sender, FlightQueryEventArgs e) { ShowResults(sender, e); }
protected void OnQuerySubmitted(object sender, FlightQueryEventArgs fqe) { ShowResults(sender, fqe); }
protected void mfbSearchForm1_QuerySubmitted(object sender, FlightQueryEventArgs e) { Refresh(); }
protected void mfbSearchForm1_Reset(object sender, FlightQueryEventArgs e) { Refresh(); }