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

Convert Winform to Radform and use of radribbonbar mainform

3 Answers 291 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ludovic
Top achievements
Rank 2
Ludovic asked on 09 Jan 2012, 10:32 AM
Hello everyone,

We are willing to update an application we started to develop since a few months with the Telerik components. I was wondering if there is a simple way to convert all the Winforms (about 100 of them) into Radforms easily?

I have also another question:
Once I convert all my winforms into radforms. I would like to display the forms inside the mainform with radribbonbar according on which button in the radribbonbar the user clicks. I found a solution: add a panel into the mainform. On each radform, below all the components there will be another panel which will be added or removed from the panel in the mainform according to what is needed. Do you think it's the best solution? Do you have any other solution?

I could not find much information about the radform in the documentation... that's why I am asking on the forum.

Thank you.
LB.

3 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 11 Jan 2012, 06:13 PM
Hello Ludovic,

Thank you for writing.

If you are talking only about converting Forms to RadForms, this will be as easy as changing the name your form descends from i.e Form is replaced by RadForm. However, if you are talking about changing all your application controls from the standard Microsoft controls to RadControls for WinForms, such a conversion should be done manually for each control. We are trying to keep our API as close as possible to Microsoft's API in order to make such a transition easier.

In regards to the second question, I am not quite sure that I can fully understand your current approach, however, I will suggest to use for a main form RadRibbonForm (since you want a ribbon on the main form) and then, add your child forms as MDI children. Attached to this post you can find a demo of this approach.

I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
 
Regards,
Stefan
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

0
Ludovic
Top achievements
Rank 2
answered on 12 Jan 2012, 03:49 AM
Hello Stefan,

I was thinking updating all the WinControls to RadControls in all the WinForms while converting them to RadForms. I will just do it manually as you said.

Yes, we are using a RibbonBarForm as mainform. Thank you for the MDI children idea. I did not know how to do this before. That's exactly what I was looking for. It works perfectly.

Have a good day! :)
LB

0
Stefan
Telerik team
answered on 16 Jan 2012, 01:55 PM

I am glad that I could help. If you have any questions, during the transition process, do not hesitate to contact us.

All the best,

Stefan
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Tags
General Discussions
Asked by
Ludovic
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Ludovic
Top achievements
Rank 2
Share this question
or