RadForm Button click

4 posts, 0 answers
  1. Cihangir
    Cihangir avatar
    1 posts
    Member since:
    Dec 2015

    Posted 11 Sep Link to this post

    Hi

    When I click the button I want to go to the Radform1 but not working. Help me please

    I use code (Button click):

    Radform1.show();

    this.hide();

  2. Dimitar
    Admin
    Dimitar avatar
    1413 posts

    Posted 12 Sep Link to this post

    Hello Cihangir,

    Thank you for writing.

    I have tested this and it is working fine on my side (see attached video). This is why I wanted to ask you which version of the controls you are using? Are you able to reproduce this in a small sample project?

    I am looking forward to your reply.
     
    Regards,
    Dimitar
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Christine
    Christine avatar
    4 posts
    Member since:
    Jul 2016

    Posted 29 Sep Link to this post

    Not sure if you figured it out, but for anyone else...

    I had a problem with Show(). I had to use ShowDialog().

    MyForm myForm = new MyForm();
    myForm.ShowDialog();
    myForm.Dispose();

  5. Dimitar
    Admin
    Dimitar avatar
    1413 posts

    Posted 30 Sep Link to this post

    Hello Christine,

    Please note that these two methods are used for different purposes. The ShowDialog method shows a modal form: c# - What's the difference between Show(), ShowDialog() and Application.Run() functions? - Stack Overflow

    If you have an issue using the Show method I would suggest to open a support ticket and describe your exact case there.

    Do not hesitate to contact us if you have other questions.
     
    Regards,
    Dimitar
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top