OnClientShown and properties C1Window to C1Dialog 2025v2 399

Posted by: enrique.pv-ext on 13 January 2026, 9:37 am EST

    • Post Options:
    • Link

    Posted 13 January 2026, 9:37 am EST

    Hi,

    Migrate from 2010v1 to 2025v2 399 in ASP.NET WebForms NET Framework 4.8.1.

    Using C1Dialog from C1.Web.Wijmo.Controls.48.dll

    I was used those properties:

    VisualStylePath="~/VisualStyles"
    UseEmbeddedVisualStyles="False"
    VisualStyle="CustomVisualStyle2"
    StartPosition="Page"
    VerticalAlign="Middle"
    HorizontalAlign="Center"
    AllowResize="false" 
    OnClientShown="C1Window1_OnClientShown" 

    By example, OnClientShown not exists now in C1Dialog 2025v2 399.

    Which is the alternative now, for C1Dialog 2025v2 399

    And for the other properties ?

    Thanks a lot

  • Posted 14 January 2026, 6:45 am EST

    Hello Enrique,

    Please refer to the attached sample for implementation. (see Dialog_Sample.zip)

    Regards,

    Uttkarsh.

  • Posted 14 January 2026, 10:18 am EST

    please, can you put sample about it ?

    this.C1Window1.AllowMove = false;
    this.C1Window1.X = 120;
    this.C1Window1.Y = 280;
    this.C1Window1.StartPosition = C1.Web.UI.Controls.C1Window.C1WindowPosition.Manual;

    How-to put AllowMove now in C1Dialog ?

    How-to put StartPosition = Manual now in C1Dialog ?

    How-to use X and Y now in C1Dialog , x = 120 and y = 280 ? Position=“[120,280]”

    Position Property (C1Dialog)

    Specifies where the dialog should be displayed. Possible values: 1) a single string representing position within viewport: ‘center’, ‘left’, ‘right’, ‘top’, ‘bottom’. 2) a string with array format containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. “[350,100]”) 3) a string with array format containing x,y position string values (e.g. “[‘right’,‘top’]” for top right corner).

    Position="['right','top']"
    but which X and Y values ?

    Can you help me please ?

  • Posted 15 January 2026, 5:09 am EST

    Hello Enrique,

    1. AllowMove is renamed to Draggable.
    2. Position=“[120,280]” is correct.

    Please refer to the attached modified sample for the same. (see Dialog_Sample_Mod.zip)

    Regards,

    Uttkarsh.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels