Issue with Radzen Panel Footer - Missing Component Import

Hi,
In a Radzen Designer Angular application, when using the Footer template of a Pane component and adding a button to open a dialog (e.g., an "Add Product" dialog), the generated "component.ts" file does not include an import statement for the dialog component.

Expected import (missing in the generated file):


import { AddProductComponent } from '../add-product/add-product.component';

As a result, when the button is clicked to open the dialog, an error occurs stating that the component is not available.

Steps to Reproduce:

  1. Create a page with a Panel component.
  2. Add a button inside the Footer template that opens a dialog (e.g., "Add Product") in its click event.
  3. Check the generated "generated.component.ts" file – the import statement for "AddProductComponent" is missing.
  4. Clicking the button triggers an error about the missing component.

I have solved this by adding the button and the action also to the page outside the panel component and hiding the button.

We are still using the Radzen Studio ,perhaps this can still be fixed ?.

Kind regards,
Mehmet

We have release an update which should address this issue.

1 Like

Issue has been resolved.
Thank you !