protected void mMain_ItemClick(object source, DevExpress.Web.MenuItemEventArgs e) { switch (e.Item.Name) { case "mitNew": clearfields(); divClasses.Visible = true; break; case "mitExportxls": dataExporter.WriteCsvToResponse(new CsvExportOptionsEx() { ExportType = ExportType.WYSIWYG }); break; case "mitReport": Session["fromwhere"] = "~/abcclass.aspx"; Session["report"] = new mySmis.reports.rptProgramsLevels(); Response.Redirect("~/documentviewer.aspx"); break; } uPanel.Update(); }
protected void gvStudents_RowDeleting(object sender, DevExpress.Web.Data.ASPxDataDeletingEventArgs e) { Session["fromwhere"] = "~/feespayment.aspx"; Session["report"] = new mySmis.reports.rptProgramsLevels(); Response.Redirect("~/documentviewer.aspx"); }