Posted 25 March 2026, 11:19 am EST
Hi,
Migrate from 2010v1 to 2025v2 399 in ASP.NET WebForms NET Framework 4.8.1.
Migrating C1Window to C1Dialog 2025v2 399.
Using C1Dialog from C1.Web.Wijmo.Controls.48.dll
I use UserControl for ReportViewer + C1Dialog:
C1GridView1_RowCommand:
ReportViewerUC.ShowReport(report, exportedFileName);
ShowOnLoad problem: show Dialog for each postback !!
public void ShowReport(C1ReportV48.C1Report report, string exportedFileName, bool fullScreen = false, string zoom = "100%")
{
string docKey = "report";
C1ReportViewer.RegisterDocument(docKey, () => report);
ReportViewer.ReportName = docKey;
ReportViewer.FileName = docKey;
ReportViewer.ExportedFileName = exportedFileName;
ReportViewer.FullScreen = fullScreen;
ReportViewer.Zoom = zoom;
ReportDialog.ShowOnLoad = true;
UpdatePanelReport.Update();
}
How-to reset “state” for C1Dialog (in my usercontrol) ?
not use ShowOnLoad , any “Show” method ?
and when I click X (pin close), hide o close de Dialog, and reset state to hidden…
any good practices for Show/Open and Hide/Close the C1Dialog control ?
thanks a lot!!
