List Info

Thread: ASPX Page as Resource?




ASPX Page as Resource?
user name
2006-05-22 15:06:33
I'm using ASP.NET 2.0, and I'd like to embed an aspx page
in a custom
control. This page is only used by the control, it will
never be called by
an application (it's a generic container page that loads a
user control
dynamically at runtime). So I'd like the page to be
embedded in the
control's dll, and I thought of serving it up as a
resource. But the docs
say that only static pages can be used, and this one must be
an ASPX page
because it has server-side code in it (to do the dynamic
user control
loading).

Is there any way that I can have a aspx page embedded in my
custom
control's assembly? I'd hate to have to bring along this
aspx page in
every app that I use the custom control.

Thanks!

Andy

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )