Ejemplo 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)
    {
        EnsureChildControls();

        base.RestoreFilterState(state);
        drpOptions.SelectedIndex = state.GetInt32("RuleCategory");
    }
    /// <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");
    }
Ejemplo n.º 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");
    }
    /// <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");
    }
 /// <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");
 }
 /// <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");
 }