Silverlight 4 Dataform: how to programmatically access auto generated fields?

StackOverflow https://stackoverflow.com/questions/6055914

  •  15-11-2019
  •  | 
  •  

سؤال

I want to enable/disable controls on the status of a checkbox in a DataForm autogenerated form. So I connected a click event receiver in the AutoGeneratingField event to a the checkbox. In the event receiver code I need to access the other fields of the form to enable/disable them, but I did not find a Field or similar collection in DataForm. How can I access the fields?

thanks!

هل كانت مفيدة؟

المحلول

I would suggest if you need to do complex stuff like this that you create the templates inside the dataform. Don't use autogenerated for this.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top