Changes to User Control do not get displayed in Form...

2 posts, 0 answers
  1. Matt
    Matt avatar
    1 posts
    Member since:
    Apr 2019

    Posted 24 Apr Link to this post

    I have a created a WinForms User Control class (C# WinForms project in and Visual Studio 2017) that has (3) controls in it: A label, textbox, and button. Next drag-and-drop that User Control onto a WinForm, and it appears with each of the child controls. All appears good, for now..

    Next I decide to make some changes in the User Control custom class, so I open it in the visual designer, move the button to a new location and change the size and change the caption of the button and save my changes. Rebuild. Next I open the Form that uses an instance of the User Control, and I do *NOT* see the updates I made to the User Control class.... The button is at the original location and original caption and original size.

    Surely, the creates of this platform should now that anyone would expect these changes to be applied to the instance of the control wherever it is used in the app.

     

    Please tell me I am missing something very basic here to make this work like true inheritance should...

     

     

  2. Dimitar
    Admin
    Dimitar avatar
    2677 posts

    Posted 25 Apr Link to this post

    Hello Matt,

    This should work as you expect and there is nothing additional that should be done. What you can try is to clean and rebuild the entire project from Visual Studio. If it does not work I would suggest opening a support ticket and attaching you project there. This way we will be able to investigate your case in a private thread and provide you with a solution. 

    I hope this helps. Should you have any other questions do not hesitate to ask.
     
    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top