Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Embedded ASP.Net Page or User Control

Thread Tools

Embedded ASP.Net Page or User Control

Posts: n/a
I have:

Class Library -
User Control with Build Action set to "Embedded Resource" in a class
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 parser, but don't know how to do this. Is
this possible? Any hints/tips?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
feeding a SQLDataSource embedded in an .ascx user control a custom property assigned to that control ASP .Net 4 07-16-2006 12:20 PM
Issues With User Control Embedded Into Web Page Since Installing .NET 2.0 Markus Kling ASP .Net 3 02-13-2006 11:17 AM
User Control Problem - How to Focus to the embedded Page? =?Utf-8?B?c3M=?= ASP .Net 1 11-17-2005 03:25 AM
Databind an embedded control in an embedded datagrid Thomas Dodds ASP .Net Datagrid Control 0 07-26-2004 08:20 PM
Page Load fired 3 times Web user control is embedded in a custom control Thomas Ekegren ASP .Net Building Controls 0 09-03-2003 05:37 PM