Get the last control in a placeholder

The following code gets the last control Id in the specified placeholder:

First, you get all controls in the specified placeholder. Then, you iterate through the list of controls until you reach the last control.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?