コード例 #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)
    {
        EnsureChildControls();

        base.RestoreFilterState(state);
        drpOptions.SelectedIndex = state.GetInt32("RuleCategory");
    }
コード例 #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)
    {
        EnsureChildControls();

        base.RestoreFilterState(state);
        drpOptions.SelectedIndex = state.GetInt32("RuleCategory");
    }
コード例 #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)
    {
        // Before retrieving selected value from saved state is necessary to ensure items in DropDownList (delete before)
        EnsureDropDownListFilterItems();

        base.RestoreFilterState(state);

        SelectedUser = state.GetInt32("ObjectRecycleBinUser");
    }
コード例 #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)
    {
        // Before retrieving selected value from saved state is necessary to ensure items in DropDownList (delete before)
        EnsureDropDownListFilterItems();

        base.RestoreFilterState(state);

        SelectedUser = state.GetInt32("RecycleBinUser");
    }
コード例 #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);
     SelectedUser = state.GetInt32("ObjectRecycleBinUser");
 }
コード例 #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);
     SelectedUser = state.GetInt32("RecycleBinUser");
 }