Embedded ASP.Net Page or User Control

M

Mythran

I have:

Class Library -
User Control with Build Action set to "Embedded Resource" in a class
library.
User Control code-behind file Build Action set to "Compile".

Web Application -
Web page that needs to display the user control.

The user control should be able to handle it's events via the compiled
code-behind file.


I am able to compile the class library correctly, and retrieve the user
control contents (html) from the resource stream. Now that I'm this far, I
am unsure of where to go next. The user control needs to have it's contents
(the html) parsed by the asp.net parser, but don't know how to do this. Is
this possible? Any hints/tips?

Thanks,
Mythran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top