In my App, I wanted to create N number of Pages where each Page may have a different set of controls(which are again dynamically populated).
Here is the flow, I will choose a file that will say how many pages and for each page what are the controls to be populated.
for e.g., below are the contents of the file.
# of Pages = 2
Page 1:
# of controls =3
Control1.Name ="A"
Control1.type = Dropdown
Control2.Name = "B"
Control2.type ="Textbox"
Control3.Name = "C"
Control3.type ="Textbox"
Page 2:
# of controls = 1
Control1.Name ="X"
Control1.type = Dropdown
I have created a Blazor Page and have written the HTML code to populate the controls dynamically. But I am not sure how to create the Blazor pages dynamically so that in my case, I can create two pages.
Any inputs would be helpful.