View unanswered posts | View active topics It is currently Thu May 23, 2019 4:45 am

Reply to topic  [ 3 posts ] 
 Pie is not working in .Net 
Author Message

Joined: Tue Jul 20, 2010 1:04 am
Posts: 1
Post Pie is not working in .Net
Tried the following:

Add in web.config:
<mimeMap fileExtension=".htc" mimeType="text/x-component" />

Other solution ( i thought)

Create a new aspx file to include, instead of the file, contents was:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="PIEWrap.aspx.vb" ContentType="text/x-component" Inherits="css_PIEWrap" %>

Response.ContentType = "text/x-component"

Then in my css i included : behavior: url("css/PIEWrap.aspx")

The rounded borders just didn't load / work at all.

Am i doing something wrong?

Tue Jul 20, 2010 1:07 am

Joined: Mon Jul 19, 2010 4:46 am
Posts: 34
Post Re: Pie is not working in .Net
Your wrapper shouldn't include <html> and <body> tags -- it's supposed to only set the header and output the contents of the htc file, nothing else.

Tue Jul 20, 2010 2:05 am

Joined: Thu Jul 15, 2010 1:56 pm
Posts: 34
Post Re: Pie is not working in .Net
A little more info FYI:

An .aspx page is not the appropriate method to serve up non-HTML content. You should be using an .ashx .NET handler, where you have to manually set the content type and the response output.

Wed Jul 21, 2010 1:34 pm
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.