Exemplo n.º 1
0
    /// <summary>
    /// Sets the simple mode.
    /// </summary>
    protected void lnkShowSimpleFilter_Click(object sender, EventArgs e)
    {
        UniGrid grid = FilteredControl as UniGrid;

        grid?.Reset();
        SetFilterMode(false);
    }
Exemplo n.º 2
0
    /// <summary>
    /// Sets the advanced mode.
    /// </summary>
    protected void lnkShowAdvancedFilter_Click(object sender, EventArgs e)
    {
        UniGrid grid = FilteredControl as UniGrid;

        grid?.Reset();
        SetFilterMode(true);
    }
 /// <summary>
 /// Resets the associated UniGrid control.
 /// </summary>
 protected void btnReset_Click(object sender, EventArgs e)
 {
     UniGrid grid = FilteredControl as UniGrid;
     if (grid != null)
     {
         grid.Reset();
     }
 }
Exemplo n.º 4
0
    protected void btnReset_Click(object sender, EventArgs e)
    {
        UniGrid grid = FilteredControl as UniGrid;

        if (grid != null)
        {
            SiteColumnEnabled = (FilterSiteID < 1);
            grid.Reset();
        }
    }
Exemplo n.º 5
0
    /// <summary>
    /// Resets the associated UniGrid control.
    /// </summary>
    protected void btnReset_Click(object sender, EventArgs e)
    {
        UniGrid grid = FilteredControl as UniGrid;

        grid?.Reset();
    }