Connecting Tech Pros Worldwide Help | Site Map

Copied/X-Posted (Older): Embedded ASP.Net Page or User Control

Mythran
Guest
 
Posts: n/a
#1: Nov 15 '06
I apologize for the need to x-post this thread. The original thread is
getting pretty old and no replies in
microsoft.public.dotnet.framework.aspnet. Also, I'm aware that this isn't a
C# only issue, but since most of y'all know asp.net as well, I'm sure
someone can help :) Thanks .... Mythran

Original Post Below
-----------------------------------------------------------------

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



Closed Thread