Esempio n. 1
0
        protected void tlbGridItem_ButtonClicked(object sender, Infragistics.Web.UI.NavigationControls.DataMenuItemEventArgs be)
        {
            try
            {
                switch (be.Item.Key.ToUpper())
                {
                case "BACK":
                    cmdBkSearch_Click();
                    break;

                case "SEARCH":
                    cmdSearch_click();
                    break;

                case "RESET":
                    Reset();
                    break;

                case "PRINT":
                    PrintMedical();
                    break;

                case "EXCEL":
                    UltraWebGridExcelExporter1.DownloadName = "Medical History";
                    UltraWebGridExcelExporter1.Export(grdMedicalHist);



                    WrtActivityLog(long.MinValue, " Exporting Medical History to Excel.", "EXL");


                    break;
                }
            }
            catch (Exception objError)
            {
                ShowMsg(MsgType.Error, FrwkMsg.OP_FAIL, objError);
            }
        }
Esempio n. 2
0
 protected void btnExcelExport_Click(object sender, ImageClickEventArgs e)
 {
     UltraWebGridExcelExporter1.DownloadName = "SearchList.xls";
     UltraWebGridExcelExporter1.Export(UltraWebGrid1);
 }
Esempio n. 3
0
 protected void btnExcelExport_Click(object sender, EventArgs e)
 {
     UltraWebGridExcelExporter1.DownloadName = "APDetail.xls";
     UltraWebGridExcelExporter1.Export(UltraWebGrid1);
 }
Esempio n. 4
0
 protected void btnExcelExport_Click(object sender, ImageClickEventArgs e)
 {
     UltraWebGridExcelExporter1.Export(UltraWebGrid1);
 }