Embedded resource and Virtual Path


C

Chuck

I have a dll library with an Embedded aspx file.
Within some othercode I do a Response.Redirect to the aspx embedded resource
by using a Virtual Path.

The dll library and NameSpace is called Util.

Within the aspx file I have a script. I want to call to another Method
within Util.
How do I do this.
I get the message type or Namespace Util not found.

<%@ Import Namespace="Util" %>
<%@ Assembly Name="Util" %>


<script runat="server">

protected void Page_Load(object sender, EventArgs e)
{
this.Title = ConfigurationManager.AppSettings["ApplicationName"] + "
problem";
Util.ExceptionHandling.ExceptionHandlingConfiguration ConfigInfo =
(Util.ExceptionHandling.ExceptionHandlingConfiguration)ConfigurationManager.GetSection("ExceptionHandlingConfiguration");

}
</script>
 
Ad

Advertisements

A

Allen Chen [MSFT]

Hi,
The dll library and NameSpace is called Util.
Within the aspx file I have a script. I want to call to another Method
within Util.
How do I do this.
I get the message type or Namespace Util not found.

I updated my previous project. You can refer to it:

http://cid-2fa13ebc6cc8e80f.skydrive.live.com/self.aspx/Public/NG|_embedde
d%7C_resources.zip

If you have further questions please don't hesitate to let me know. I'll do
my best to follow up.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the

support we provide to you. Please feel free to let my manager know what you
think of the level of service provided.

You can send feedback directly to my manager at: (e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-

us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community

or a Microsoft Support Engineer within 2 business day is acceptable. Please
note that each follow up response may

take approximately 2 business days as the support professional working with
you may need further investigation to

reach the most efficient resolution. The offering is not appropriate for
situations that require urgent, real-time

or phone-based interactions. Issues of this nature are best handled working
with a dedicated Microsoft Support

Engineer by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-

us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Ad

Advertisements

A

Allen Chen [MSFT]

Hi,
The dll library and NameSpace is called Util.
Within the aspx file I have a script. I want to call to another Method
within Util.
How do I do this.
I get the message type or Namespace Util not found.

Have you solved this issue?

Regards,
Allen Chen
Microsoft Online Support
 

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

Top