Пример #1
0
    protected void uwToolbarFilter_ButtonClicked(object sender, Infragistics.WebUI.UltraWebToolbar.ButtonEvent be)
    {
        string btn = be.Button.Key.ToLower();

        if (btn.Equals("filter"))
        {
            DisplaySearchResults();
        }
    }
Пример #2
0
    //Code added for Links Requirement (PR664195) - to find out if selected host/companion is obsolete by Prachi on 16th Jan 2013 - start

    //Adding Export funtionality as part of PR665368 - Export Button by Nisha Verma on 21 st dec
    protected void uwToolbar1_ButtonClicked(object sender, Infragistics.WebUI.UltraWebToolbar.ButtonEvent be)
    {
        string btn1 = be.Button.Key.ToLower();

        if (btn1 == "export")
        {
            Utils.ExportToExcel(dg, txtFilter.Text + SessionState.CurrentItem.Name.ToString(), txtFilter.Text + SessionState.CurrentItem.Name.ToString());
        }
    }