It it possible to put form elements into a TileLayout?

0 Answers 153 Views
Form TileLayout
Jstemper
Top achievements
Rank 2
Bronze
Iron
Jstemper asked on 11 Sep 2021, 04:00 AM

I would like to put individual form elements of a form into a tile layout so that the form elements can be moved around to suit the end user's layout preferences.

Is it possible?

Marin Bratanov
Telerik team
commented on 11 Sep 2021, 05:58 PM

You could try wrapping the entire TileLayout in a standard EditForm and see how that goes.

The potential caveat here is that a change in the DOM may happen as tiles are reordered and if that breaks the validation (e.g., because Blazor loses some event handlers), you may need to re-create the validator in a suitable event such as the Reorder event of the tile layout (see an example of how to re-add a validator here). NOTE: I am not sure that will happen, I have not tried the scenario, you should test it out.

No answers yet. Maybe you can help?

Tags
Form TileLayout
Asked by
Jstemper
Top achievements
Rank 2
Bronze
Iron
Share this question
or