This is a migrated thread and some comments may be shown as answers.
New RADForm - How to use?
8 Answers 502 Views
This is a migrated thread and some comments may be shown as answers.
Thomas Peifer
Top achievements
Rank 1
Thomas Peifer asked on 17 Apr 2008, 01:40 PM
Hallo,

i have a problem. Today i downloaded the Q1-2008-Version of Telerik RADcontrols for Winforms. All new features are available in the toolbox of VS2008 (Aqua Theme, Desert Theme, RADcarousel...), but i can't find the RADForm. How can i use it?

The example ist not written in Visual Basic :-( , the help file do not contain any about RADForm :-(. 

Please help!

Thomas Peifer
thomas.peifer@topeneu.de

  

8 Answers, 1 is accepted

Sort by
0
Alex Peachey
Top achievements
Rank 1
answered on 17 Apr 2008, 03:25 PM
Well, there are no docs available yet that I can get my hands on, but from what I can tell it works the same way the ShapedForm works.

Basically, just create a new windows form and then in the code, change it so instead of extending Form, extend RadForm.

Now, what I'd love to know is if we should still used ShapedForm, or if this is a switch over to a new item and a move away from ShapedForm.

If both are to be used, what is the recommend use cases? That is to say, when should we use one and when should we use the other.
0
Martin Vasilev
Telerik team
answered on 21 Apr 2008, 07:40 AM
Hello Alex Peachey,

Thank you for writing.

Please find detailed information about RadForm in the following KB article:
http://www.telerik.com/support/kb/article/b454K-hta-b454T-ckd-b454c-ckd.aspx

If you have additional questions, do not hesitate to contact me again.

Greetings,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Thomas Peifer
Top achievements
Rank 1
answered on 24 Apr 2008, 07:22 PM
Hallo,

i have found the problem: in documentation you can read

   ... Telerik.Wincontrols.UI.RadForm ...

but the example in c# shows the right way:

    Telerik.Wincontrols.RadForm

Yeah. I hope, the RadRibbonBar will be the next step.

Greetinx from Germany
Thomas Peifer
0
Martin Vasilev
Telerik team
answered on 25 Apr 2008, 11:45 AM
Hi Thomas Peifer,

Thank you for bringing our attention to this mistake.

You are right. The correct code is:
 
public partial class Form1 : Telerik.WinControls.RadForm 
 
We will fix our documentation immediately. 

We will definitely add RadRibbonForm to our Rad Controls suite, but there is much work to do before the public version is ready. That is the reason that I cannot give you a time frame when the RadRibbonForm will be available. To learn more on our future plans please visit regularly our Roadmap by following the link below:
http://www.telerik.com/products/winforms/roadmap.aspx

I have updated your Telerik points for noticing the typo. If you have other questions, do not hesitate to contact me again.

 
All the best,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Clint MacDonald
Top achievements
Rank 2
answered on 14 May 2008, 03:25 PM
In the documentation quoted above...the VB inherits statement is incorrect.....

It says "Inherits Telerik.WinControls.UI.RadForm"
when it should say "Inherits Telerik.WinControls.RadForm"

Thanks
Clint
0
Nikolay Dobrev
Telerik team
answered on 15 May 2008, 10:29 AM
Hello Clint,

It's fixed. Thanks for reporting it to us. Your Telerik points have been updated as well.

Greetings,
Nikolay Dobrev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
ton_cut345
Top achievements
Rank 1
answered on 26 Jan 2009, 09:20 AM
This is the code on my form1.vb

Imports Telerik.WinControls
Public Class Form1
    Inherits Telerik.WinControls.radform
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class

error on Inherits Telerik.WinControls.radform >> says its not defined.

I wan to use either aqua theme or desert theme



0
Victor
Telerik team
answered on 29 Jan 2009, 08:05 AM
Hello Thomas,

Thank you for writing.

You must have references to Telerik.WinControls.dll, Telerik.Common and Telerik.WinControls.UI. Also you need to change the Inherits part of your code to RadForm in both your vb file and designer.vb file.

Assuming that you have a Form1 class the beginning of the vb file should look like this:

Imports Telerik.WinControls  
 
Public Class Form1  
    Inherits RadForm 
The beginning of the designer.vb file should look like this:
Imports Telerik.WinControls  
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _  
Partial Class Form1  
    Inherits RadForm 

You only need to make sure that you have the references to the assemblies and that both files inherit from RadForm.

To use the themes you also need to add same references. In your particular case these are
Telerik.WinControls.Themes.Aqua.dll and Telerik.WinControls.Themes.Desert.dll.

I noticed that you are using a very old version of our controls. I suggest upgrading to get the benefits of the numerous improvements we have made since Q1.

I hope this is helpful. Please write back if you need further assistance.

Greetings,
Victor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Form
Asked by
Thomas Peifer
Top achievements
Rank 1
Answers by
Alex Peachey
Top achievements
Rank 1
Martin Vasilev
Telerik team
Thomas Peifer
Top achievements
Rank 1
Clint MacDonald
Top achievements
Rank 2
Nikolay Dobrev
Telerik team
ton_cut345
Top achievements
Rank 1
Victor
Telerik team
Share this question
or