Posted 15 January 2026, 4:29 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 have the older code javasciprt:
var dialog = $find(C1WindowClientID);
dialog.set_width(width);
dialog.set_height(height);
In help reference wijmo, width using Number, and height using String ???
var newValue; // Type: number
$(".selector").wijdialog("option", "width", newValue);
var newValue; // Type: string
$(".selector").wijdialog("option", "height", newValue);
I have now the code javasciprt:
w.c1dialog({
title: title,
modal: true
});
if (width) {
w.c1dialog("option", "width", width);
}
if (height) {
w.c1dialog("option", "height", height);
}
w.c1dialog("open");
Which is the alternative now, for C1Dialog 2025v2 399
how-to use c1dialog for set width value, using // Type: number ?
how-to use c1dialog for set height value, using // Type: string ?
$(".selector").wijdialog("option", "width", newValue);
$(".selector").wijdialog("option", "height", newValue);
Can you please, why type number vs type string for width and height ?
Thanks a lot
