Question

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!

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top