Rowdetail events

Posted by: russ.lunn on 3 August 2026, 5:42 am EST

    • Post Options:
    • Link

    Posted 3 August 2026, 5:42 am EST

    I have a custom control in the flexgrpd row detail which displays some data.

    I need to have an event when the user does something in the user control.

    I can create the event in the setup, but I have no way of consuming the event from the form.

    how is this supposed to work?

  • Posted 3 August 2026, 8:17 am EST

    Hi Russ,

    To delegate events from controls hosted inside a RowDetail, you can create a custom event in your RowDetail implementation and forward the internal control events to the main form through the RowDetail object.

    Please refer to the attached sample project. In the sample, we inherit the C1FlexGridRowDetail class, handle the child grid’s AfterRowColChange event, and forward it to the main form through a custom event exposed by the RowDetail implementation.

    Note: To avoid any memory leaks, please make sure to remove all the event handlers by overriding the Removing method of the RowDetail.

    Attachment: FgRowDetailEvents.zip

    Best Regards,

    Kartik

  • Posted 4 August 2026, 4:40 am EST

    that’s perfect. thanks

Need extra support?

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

Learn More

Forum Channels