This is a migrated thread and some comments may be shown as answers.

Rad form controls layout

1 Answer 48 Views
Form
This is a migrated thread and some comments may be shown as answers.
Shafqat
Top achievements
Rank 1
Shafqat asked on 29 Dec 2017, 05:10 PM
hi, i'm using radform inside a mdi container. i have set the rad form properties as startposition: center parent, windowstate: maximized, formborderstyle:none. when rad form loads inside mdi parent, all the controls on rad form are not in center of form they are shown left side of form,they should be align in center, i have also set anchor as none but controls are still at left side of form.

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 02 Jan 2018, 09:25 AM
Hello Shafqat,

Thank you for writing.

Please note that when you open a form as an MDI child to a parent form, the controls will not automatically center in the child form. The StartPosition property of such forms is also not relevant in this kind of setup. 

I am attaching two screenshots demonstrating the result of my end testing with RadForms and also standard forms. As you can see the results are identical. If you want to center the controls you will need to add your own logic for calculating their positions. Additionally, you may also check the following thread discussing a similar question: https://stackoverflow.com/questions/18543472/keeping-child-form-centered-in-mdi-parent#18544052.

I hope this helps. Let me know if you need further assistance.

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Form
Asked by
Shafqat
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or