We are developing business rule engine. Users can create database structure, objects, web forms and so on. Now, we would like to provide the users with the ability to set up Telerik ASP.NET Ajax controls using xml set up files.
These files have the same structure like html code snippets used in VS.NET Designer for every type of your control.
The main reasons for that is:
1) we can easily create xml schema for "supported subset of features"
2) there are too many features to create special form for every property of the control
The question is How to interpret there xml files to set up controls.
1) With help of reflection. => We need to cast strings in xml attributes to proper types.
2) Use already existing functionality in VS.NET designer to read aspx files and set up controls on the fly.
What do you think about that? I know nothing about the second option. Can you help me, please?
Thank you very much.