Solved

Custom Controls - Refresh

Posted on 2006-11-10
1
187 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

791 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