This is a migrated thread and some comments may be shown as answers.
Changes to User Control do not get displayed in Form...
1 Answer 234 Views
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 24 Apr 2019, 04:49 PM

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...

 

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 25 Apr 2019, 06:50 AM
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.
Asked by
Matt
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or