Solved

Custom Controls - Refresh

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Iterate two lists and remove inactive 11 49
SQL Exceptions 3 40
Entity Framework 7 33
Video Player 2017 5 17
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…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now