We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

UserControls

Thread ID:

Created:

Updated:

Platform:

Replies:

3926 Apr 17,2003 04:48 PM Apr 18,2003 08:31 AM Windows Forms 1
loading
Tags: FAQ
Robert N Pardoe
Asked On April 17, 2003 04:48 PM

I have created a usercontrol that is basically an edit box. I have also built into it some validation. The validation is contained in its own class, so in the solution I have the usercontrol and the validation projects. Everything compiles fine. If I then create a new solution and want to add my usercontrol to the toolbox, I navigate to either the bin\release or obj\release folders to choose the dll. When it is being added to the toolbox, VS complains that the assembly needs the referenced class to be included. i.e. the validation class. Given that I only want to put the usercontrol into the toolbox (I cant add the validaton class - it has no UI), how do I do it ? Any help appreciated Thanks BOb

Ramesh Praveen [Syncfusion]
Replied On April 18, 2003 08:31 AM

I think if the validation class's assembly is placed beside your ui assembly, vs.net will pick it up automatically, didn't it? -Praveen

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;