views:

28

answers:

1

Hello, One of our product requirement is to allow the generation of Search form. So we need to facilitate the user to generate the search form based on the selected data fields.

Now our application is in WPF. Can anybody guide me how to start this thing. I have been told to research on T4, But any kind of help will be appreciated.

Regards Khurram

A: 

Actually T4 won't help you much here I'm afraid; T4 generates code in the IDE (Visual Studio), before compiling and shipping to a customer.

You'll need to look into generating the controls dynamically, most likely through data binding and MVVM as it's cleanest.

Alex Paven
Thanks Alex and everybody else. I think this is a deep topic I need to discuss with my management again.
Shax