How to show telerik ExamplesForm

2 posts, 0 answers
  1. Saleem
    Saleem avatar
    2 posts
    Member since:
    Nov 2014

    Posted 29 Nov 2014 Link to this post

    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
    This is the code I used, where Form1 is a form inheriting ExamplesForm (Grouping form found in QuickStart)

    Please reply ASAP.
    Thank you,
  2. Dimitar
    Dimitar avatar
    1321 posts

    Posted 04 Dec 2014 Link to this post

    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.

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top