Create a new aspx file to include, instead of the pie.htc file, contents was: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="PIEWrap.aspx.vb" ContentType="text/x-component" Inherits="css_PIEWrap" %>
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
Spudley
Joined: Mon Jul 19, 2010 4:46 am Posts: 34
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
matthewdl
Joined: Thu Jul 15, 2010 1:56 pm Posts: 34
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.
Users browsing this forum: Bing [Bot], Google [Bot] 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