Hello,
My requirement is to provide a solution that creates the silverlight UI dynamically based on some metadata, in the form of xml or pulled from the database.For example control type, width, height, regex for validation,text as description, etc
My challenge is to write it in generic way, which works for most of the controls. Wanted some inputs on the approach to do it.
For now, I have taken the approach using XamlReader.Load() which takes the xaml as string. What I feel is, this approach may not result in a good code which would be flexible enough for any changes or maintainable.
I should be able to attach event handlers, perform validations and bind to the source.
Please provide your inputs, even any smallest thought you get in your mind. It may help me to think and figure out the right approach.
Thanks.
[edit]Urgency deleted - OriginalGriff[/edit]