c# - Querying the ASP.NET form object with linq -


Is it possible to select all the controls that get a particular abstract class with the link.

Use the extension method:

  ... form. ControlsOfType & lt; MyControlBase & gt; () ...  

To view it recursively: An intake that runs the control tree to make that list, which you then apply to LINQ operators


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -