コード例 #1
0
ファイル: Filter.ascx.cs プロジェクト: SMEWebmaster/Kentico16
 /// <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");
 }
コード例 #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
        drpStatus.SelectedValue = state.GetString("drpStatus", "-1");
    }
コード例 #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);
     isAdvancedMode = state.GetBoolean("AdvancedMode");
     ViewState["IsAdvancedMode"] = isAdvancedMode;
     hdnAlpha.Value = state.GetString("Alphabet");
 }
コード例 #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");
     fltAccountStatus.Value   = state.GetString("Status");
     fltCreated.ValueFromTime = state.GetDateTime("FromTime");
     fltCreated.ValueToTime   = state.GetDateTime("ToTime");
 }
コード例 #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)
 {
     filter.SelectedValue = state.GetString("type");
 }
コード例 #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);
     drpStatus.SelectedValue = state.GetString("ReportStatus");
 }
コード例 #7
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)
 {
     filter.SelectedValue = state.GetString("condition");
     txtEmail.Text = state.GetString("email");
 }
 /// <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)
 {
     ddlMessageTypeFilter.SelectedValue = state.GetString("Value");
 }
コード例 #9
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)
 {
     filter.SelectedValue = state.GetString("type");
 }
コード例 #10
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);
     drpStatus.SelectedValue = state.GetString("ReportStatus");
 }
コード例 #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);
     Value = state.GetString("Value");
 }
コード例 #12
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)
 {
     ddlBounceFilter.SelectedValue = state.GetString("blocked");
 }
コード例 #13
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)
 {
     ddlMessageTypeFilter.SelectedValue = state.GetString("Value");
 }
コード例 #14
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);
     radMonitored.SelectedValue = state.GetString("radMonitored");
     radSalesForceLeadReplicationStatus.SelectedValue = state.GetString("radSalesForceLeadReplicationStatus");
     IsAdvancedMode = state.GetBoolean("AdvancedMode");
     fltCreated.ValueFromTime = state.GetDateTime("FromTime");
     fltCreated.ValueToTime = state.GetDateTime("ToTime");
 }
コード例 #15
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)
 {
     FilterText     = state.GetString("Text");
     FilterOperator = state.GetString("Operator");
 }
コード例 #16
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)
 {
     ddlBounceFilter.SelectedValue = state.GetString("blocked");
 }
コード例 #17
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
        drpStatus.SelectedValue = state.GetString("drpStatus", "-1");
    }
コード例 #18
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");
 }
コード例 #19
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)
 {
     FilterText = state.GetString("Text");
     FilterOperator = state.GetString("Operator");
 }
 /// <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)
 {
     filter.SelectedValue = state.GetString("condition");
     txtName.Text         = state.GetString("categoryName");
 }
コード例 #21
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)
 {
     filter.SelectedValue = state.GetString("condition");
     txtName.Text = state.GetString("categoryName");
 }
コード例 #22
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)
 {
     filter.SelectedValue = state.GetString("condition");
     txtEmail.Text        = state.GetString("email");
 }
 /// <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);
     Value = state.GetString("Value");
 }
コード例 #24
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");
 }