/// <summary>
 /// Restores filter state from the specified object.
 /// </summary>
 /// <param name="state">The object that holds the filter state.</param>
 public override void RestoreFilterState(FilterState state)
 {
     base.RestoreFilterState(state);
     IsAdvancedMode            = state.GetBoolean("AdvancedMode");
     fltModified.ValueFromTime = state.GetDateTime("FromTime");
     fltModified.ValueToTime   = state.GetDateTime("ToTime");
 }
 /// <summary>
 /// Restores filter state from the specified object.
 /// </summary>
 /// <param name="state">The object that holds the filter state.</param>
 public override void RestoreFilterState(FilterState state)
 {
     base.RestoreFilterState(state);
     IsAdvancedMode           = state.GetBoolean("AdvancedMode");
     fltAccountStatus.Value   = state.GetString("Status");
     fltCreated.ValueFromTime = state.GetDateTime("FromTime");
     fltCreated.ValueToTime   = state.GetDateTime("ToTime");
 }
示例#3
0
 /// <summary>
 /// Restores filter state from the specified object.
 /// </summary>
 /// <param name="state">The object that holds the filter state.</param>
 public override void RestoreFilterState(FilterState state)
 {
     base.RestoreFilterState(state);
     radSalesForceLeadReplicationStatus.SelectedValue = state.GetString("radSalesForceLeadReplicationStatus");
     IsAdvancedMode           = state.GetBoolean("AdvancedMode");
     fltCreated.ValueFromTime = state.GetDateTime("FromTime");
     fltCreated.ValueToTime   = state.GetDateTime("ToTime");
 }
    /// <summary>
    /// Restores filter state from the specified object.
    /// </summary>
    /// <param name="state">The object that holds the filter state.</param>
    public override void RestoreFilterState(FilterState state)
    {
        base.RestoreFilterState(state);
        IsAdvancedMode = state.GetBoolean("AdvancedMode");
        ShowFilterElements();

        fltTimeBetween.ValueFromTime = state.GetDateTime("TimeBetweenFrom");
        fltTimeBetween.ValueToTime = state.GetDateTime("TimeBetweenTo");
    }
示例#5
0
    /// <summary>
    /// Restores filter state from the specified object.
    /// </summary>
    /// <param name="state">The object that holds the filter state.</param>
    public override void RestoreFilterState(FilterState state)
    {
        base.RestoreFilterState(state);

        // Restore additional state properties
        AdvancedFilterEnabled         = state.GetBoolean("AdvancedFilterEnabled");
        dtpFrom.SelectedDateTime      = state.GetDateTime("dtpFrom");
        dtpCreatedTo.SelectedDateTime = state.GetDateTime("dtpCreatedTo");
    }
    /// <summary>
    /// Restores filter state from the specified object.
    /// </summary>
    /// <param name="state">The object that holds the filter state.</param>
    public override void RestoreFilterState(FilterState state)
    {
        base.RestoreFilterState(state);
        isAdvancedMode = state.GetBoolean("AdvancedMode");
        ViewState["IsAdvancedMode"] = isAdvancedMode;
        ShowFilterElements(isAdvancedMode);

        fltTimeBetween.ValueFromTime = state.GetDateTime("TimeBetweenFrom");
        fltTimeBetween.ValueToTime = state.GetDateTime("TimeBetweenTo");
    }
 /// <summary>
 /// Restores filter state from the specified object.
 /// </summary>
 /// <param name="state">The object that holds the filter state.</param>
 public override void RestoreFilterState(FilterState state)
 {
     base.RestoreFilterState(state);
     fltTimeBetween.ValueFromTime = state.GetDateTime("FromTime");
     fltTimeBetween.ValueToTime   = state.GetDateTime("ToTime");
 }
 /// <summary>
 /// Restores filter state from the specified object.
 /// </summary>
 /// <param name="state">The object that holds the filter state.</param>
 public override void RestoreFilterState(FilterState state)
 {
     base.RestoreFilterState(state);
     dtFromTo.ValueFromTime = state.GetDateTime("FromTime");
     dtFromTo.ValueToTime = state.GetDateTime("ToTime");
 }
 /// <summary>
 /// Stores filter state to the specified object.
 /// </summary>
 /// <param name="state">The object that holds the filter state.</param>
 public override void RestoreFilterState(FilterState state)
 {
     base.RestoreFilterState(state);
     fltTimeBetween.ValueFromTime = state.GetDateTime("From");
     fltTimeBetween.ValueToTime = state.GetDateTime("To");
 }
 /// <summary>
 /// Restores filter state from the specified object.
 /// </summary>
 /// <param name="state">The object that holds the filter state.</param>
 public override void RestoreFilterState(FilterState state)
 {
     base.RestoreFilterState(state);
     radMonitored.SelectedValue = state.GetString("radMonitored");
     radSalesForceLeadReplicationStatus.SelectedValue = state.GetString("radSalesForceLeadReplicationStatus");
     IsAdvancedMode = state.GetBoolean("AdvancedMode");
     fltCreated.ValueFromTime = state.GetDateTime("FromTime");
     fltCreated.ValueToTime = state.GetDateTime("ToTime");
 }
 /// <summary>
 /// Restores filter state from the specified object.
 /// </summary>
 /// <param name="state">The object that holds the filter state.</param>
 public override void RestoreFilterState(FilterState state)
 {
     base.RestoreFilterState(state);
     chkMerged.Checked = state.GetBoolean("ShowAll");
     IsAdvancedMode = state.GetBoolean("AdvancedMode");
     fltAccountStatus.Value = state.GetString("Status");
     fltCreated.ValueFromTime = state.GetDateTime("FromTime");
     fltCreated.ValueToTime = state.GetDateTime("ToTime");
 }
    /// <summary>
    /// Restores filter state from the specified object.
    /// </summary>
    /// <param name="state">The object that holds the filter state.</param>
    public override void RestoreFilterState(FilterState state)
    {
        base.RestoreFilterState(state);

        // Restore additional state properties
        SiteColumnEnabled = state.GetBoolean("SiteColumnEnabled");
        AdvancedFilterEnabled = state.GetBoolean("AdvancedFilterEnabled");
        dtpFrom.SelectedDateTime = state.GetDateTime("dtpFrom");
        dtpCreatedTo.SelectedDateTime = state.GetDateTime("dtpCreatedTo");
    }