Hi,
I am dynamically creating docks and loading user controls in them (similar to your portal)
I am also adding custom commands dynamically like:
I am dynamically creating docks and loading user controls in them (similar to your portal)
I am also adding custom commands dynamically like:
DockCommand editCmd = new DockCommand(); |
editCmd.Name = "Edit"; |
editCmd.Text = "Edit"; |
editCmd.CssClass = "rdCustom"; |
dock.Commands.Insert(0, editCmd); |
Problem is the command appears at the end of all commands,
I want it to appear in order "edit","min-max","close"
Please suggest syntax.
Thanks.