0

I have created a website project in VS2008 and in the appcode folder I have created a class deriving from System.Web.UI.WebControls.WebControl. I need to use this control in one of my webforms. I can't figure out how to.

1 Answer 1

1

Have a look at this example: Creating and Using User Control Libraries

What you want to accomplish is:

Resized image from Scott Gu's site to fit StackOverflow.comt

Where you have a Register directive to provide a link to the control's ascx source page and providing a TagPrefix and TagName to reference the control in the page. In addition, you could also set any properties you have provided for the user control if you have.

If this is just a user control you want to reference from an assembly Check this link out: Giving a .NET Assembly a Strong Name

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.