I'm building a user control in which I'd like to use PIE so. I want to make use of rounded corners and linear gradients in IE8. I'm not even supporting IE6 and IE7 anymore.

I'm using inline CSS and I dynamically render a bunch of divs that need to have PIE styling.

I've tried using the .js file and wrote the PIE.attach() code manually to try and get it to work. While the code was successfully executed without errors, the styling still wasn't applied.

When I copy paste the rendered div code into the same page outside of the user control, it works fine.

Inside the user control... it remains a no go.

I've tried screwing around with the url to the htc file. I've read the known issues and searched the forum. I can't find anything.

I'm thinking about just taking a screenshot of my rendered divs, and then just using the images instead.

But I'd prefer it if PIE would work in IE8 in user controls.

Any suggestions on how to make it work?

Wed Jun 27, 2012 7:47 am

jason

Joined: Wed Jul 14, 2010 11:46 amPosts: 1452

Re: PIE Not Being Applied In IE8 When Used Within User Contr

I'm not sure what you mean by "user control", is that something special or just a normal element?

Happy to help if you provide some information like the URL of your site.

Wed Jun 27, 2012 8:35 am

webaware

Joined: Mon Apr 11, 2011 4:54 pmPosts: 53

Re: PIE Not Being Applied In IE8 When Used Within User Contr

Are you hiding, then showing some elements, after you attach PIE? In IE8, PIE often can't keep track of changes in visibility, so you might need to fire an event to tell it that the elements need PIE rendering. See here for an example.

Who is online

Users browsing this forum: No registered users and 1 guest

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