Esempio n. 1
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);
     chkMerged.Checked        = state.GetBoolean("ShowAll");
     IsAdvancedMode           = state.GetBoolean("AdvancedMode");
     fltAccountStatus.Value   = state.GetString("Status");
     fltCreated.ValueFromTime = state.GetDateTime("FromTime");
     fltCreated.ValueToTime   = state.GetDateTime("ToTime");
 }
Esempio n. 2
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
        SiteColumnEnabled             = state.GetBoolean("SiteColumnEnabled");
        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");
     fltModified.ValueFromTime = state.GetDateTime("FromTime");
     fltModified.ValueToTime   = state.GetDateTime("ToTime");
 }
Esempio n. 4
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);
     isAdvancedMode = state.GetBoolean("AdvancedMode");
     ViewState["IsAdvancedMode"] = isAdvancedMode;
     SetFieldsVisibility();
 }
Esempio n. 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);
     isAdvancedMode = state.GetBoolean("AdvancedMode");
     ViewState["IsAdvancedMode"] = isAdvancedMode;
     hdnAlpha.Value = state.GetString("Alphabet");
 }
Esempio n. 6
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");
    }
    /// <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);

        foreach (KeyValuePair <int, ListItem> pair in optionToCheckBoxMap)
        {
            bool check = state.GetBoolean(pair.Key.ToString(), true);
            pair.Value.Selected = check;
        }
    }
    /// <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);
     isAdvancedMode = state.GetBoolean("AdvancedMode");
     ViewState["IsAdvancedMode"] = isAdvancedMode;
     hdnAlpha.Value = state.GetString("Alphabet");
 }
Esempio n. 11
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);
     mIsAdvancedMode             = state.GetBoolean("AdvancedMode");
     ViewState["IsAdvancedMode"] = mIsAdvancedMode;
 }
    /// <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);

        foreach (KeyValuePair<int, ListItem> pair in optionToCheckBoxMap)
        {
            bool check = state.GetBoolean(pair.Key.ToString(), true);
            pair.Value.Selected = check;
        }
    }
 /// <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");
     SetFieldsVisibility();
 }
 /// <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;
 }
 /// <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");
    }