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

How to show telerik ExamplesForm

1 Answer 100 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saleem
Top achievements
Rank 2
Saleem asked on 29 Nov 2014, 11:05 AM
Hi,
I hope I'll get a reply this time (this will be my third post with no answer)

I was trying to use ExampleForms, I copied the source code of "Grouping" form into my project, it was loaded just fine.
But how to initiate the form? there is no ShowDialog method, and the show does not really show the form, so what should I do?

        Dim form1 As New Form1
        'form1.StartPosition = FormStartPosition.CenterScreen
        'form1.ShowDialog()
        form1.Show()
This is the code I used, where Form1 is a form inheriting ExamplesForm (Grouping form found in QuickStart)

Please reply ASAP.
Thank you,
Saleem.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 04 Dec 2014, 07:14 AM
Hello Saleem,

Thank you for writing.

Please note that ExamplesForm class (despite its name) does not inherit Form, it inherits UserControl and it is a custom user control that is especially used in our demo application. In this case I am not sure which example exactly you are pointing (we have groping examples for RadGridView and RadScheduler) but you can take the code from the groping example that you want and your form does not need to inherit ExamplesForm. You can inherit the default Form class or use RadForm for example and call Form's Show method.

Please note that only two posts were made from this account (this one and one for RadTileView for WPF). This is why I wanted to ask you if you made the other two posts from this account or you have used another?

I hope this helps. I am looking forward to your reply.
 
Regards,
Dimitar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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