Solved

Custom Controls - Refresh

Posted on 2006-11-10
1
186 Views
Last Modified: 2010-04-16
I have a set of custom controls in my project. I have added these to my Toolbox.

But when I change some properties in my custom controls, the changes do not seem to be reflected on the forms that already have instances of the custom controls. I am having to delete the instance and re-put there.

Am I missing something? This way I don't see any use of having custom controls, right? Is that how custom controls work? I want the changes I make to the controls to be auto-reflected on all the forms.
0
Comment
Question by:srinivas_vemla
1 Comment
 
LVL 2

Accepted Solution

by:
cybercrew earned 125 total points
ID: 17920437
Try a Clean Solution and Rebuild solution from  Build menu.  That will assure that the new assembly is copied over.  Also under your References make sure that the it is specifically pointing at the dll file that contains the control. I had a few problems with this in VS 2003 but have not had trouble in VS 2005.

0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error in script 11 56
rest webservice call over https via c# 6 39
Adding  DYMO Labelprinter to c# client application 4 32
Hey!! 5 33
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question