More in this section

Forums / Developing with Sitefinity / Changing the ordinal position

Changing the ordinal position

2 posts, 0 answered
  1. Sang
    Sang avatar
    13 posts
    14 May 2008
    13 Aug 2008
    Link to this post
    Is there any way to change the ordinal position of a control through the API? I notice that the property is read-only in the ICMSWebControl interface.
  2. Ivan
    Ivan avatar
    478 posts
    16 Jun 2015
    13 Aug 2008
    Link to this post
    Hi Sang,

    You can use the MoveControl(Guid id, string containerId, int ordinal) method of the IStagedPage interface. You can find more about the important interfaces of Pages/Templates/Controls API here:

    I hope you'll find this information helpful. Let us know if there is anything else we can do for you.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered