Tech Off Post

Single Post Permalink

View Thread: Dynamic Binding for TextBlock inside of DataTemplate in ComboBox
  • User profile image

    yes that is the exact requirement, user should not have any control over binding,

    user will see data set by server.

    No binding in xaml and no binding in Cs either, server will decide binding and server will set the data using binding.

    I have a control-mapping feature, which maps and stores control and its related datasource in database table.

    eg. TextBox: txtPatientName will be mapped with PatientName property of datasource and this data will be stored in database.