Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
I'm using Pie.htc(http://css3pie.com/) file that enable Css3 in IE8. when i navigate my page to a HTML file every things is OK:
webbrowser.Navigate("url address");//OK
but when i use:
webbrowser.DocumentText=myhtmlcontent;
it's return an error "access denied to PIE.htc"
i search a lot but no success
Html Code(test page)
 
 <html>
    <head>
    <style type="text/css">
    .Highlight
    {
border: 1px solid #696;
 
text-align: center;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: #666 0px 2px 3px;
-moz-box-shadow: #666 0px 2px 3px;
box-shadow: #666 0px 2px 3px;
background: #EEFF99;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEFF99), to(#66EE33));
background: -webkit-linear-gradient(#EEFF99, #66EE33);
background: -moz-linear-gradient(#EEFF99, #66EE33);
background: -ms-linear-gradient(#EEFF99, #66EE33);
background: -o-linear-gradient(#EEFF99, #66EE33);
background: linear-gradient(#EEFF99, #66EE33);
-pie-background: linear-gradient(#EEFF99, #66EE33);
behavior: url(/PIE.htc);
    }
    </style>
    </head>
    <body>
    <p class="Highlight">asd <span >asd</span> as d sad  </p>
    </body>
    </html>
Posted 13-Oct-12 21:01pm
Edited 13-Oct-12 21:20pm
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It's a third party related issue. I would suggest you to first look at their documentation and if needed look/post at their forum. You will have better audience to look and reply your question there.
 
Try here:
css3pie - documentation[^]
css3pie - forum[^]
 
In Documentation, look at "Same-domain limitation" mentioned leading to similar error you are getting.
  Permalink  
Comments
IRSOG at 15-Oct-12 1:08am
   
Thanks.
Sandeep Mewara at 15-Oct-12 12:48pm
   
Welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 230
2 BillWoodruff 205
3 Sergey Alexandrovich Kryukov 195
4 DamithSL 165
0 OriginalGriff 5,130
1 DamithSL 4,157
2 Maciej Los 3,650
3 Kornfeld Eliyahu Peter 3,460
4 Sergey Alexandrovich Kryukov 2,811


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 14 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100