locked
How to Dynamically Bind Controls? RRS feed

  • Question

  • Hi,

    I am writing a Dynamic Data Form Control for that I am using reflection for UIHintAttribute now I am having a Problem to bind user defined control dynamically.

    Say User is having a control which is a combination of TextBox as well as DataGrid into it so that he binds Text and ItemSource property now my question is that how can I bind diff combination's of controls dynamically?

    Thanks,

    Abhinay.

    Monday, August 3, 2009 9:36 AM

Answers

  • Bind your data to the parents datacontext, so every element within the container has access to the data

    Friday, August 7, 2009 11:41 AM