Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8910599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:43:44+00:00 2026-06-15T03:43:44+00:00

I am using a popular css hack to enable border-radius in Internet Explorer 8

  • 0

I am using a popular css hack to enable border-radius in Internet Explorer 8 that is found here: (Curved-corner-border-radius-cross-browser).

It works as expected in IE8, except on any .net page that has a post back and SmartNavigation=True. On postback I get a javascript error Invalid Argument Line 87, this is in the htc file where the div with rounded corner’s offsetHeight / offsetWidth are being retrieved. The css does not work properly and the layout is totally messed up.

I put a javascript alert in this htc file just to show the value of the offsetWidth of the container that is supposed to have rounded corners. When you first load the page you see the numeric value, click OK on the alert and the css displays as it should. On post back, the alert will show a value -1. Click OK on the alert, and the css is broken. Why is it unable to find offsetWidth / offsetHeight on post back when SmartNavigation=True?

On postback the error occurs, invalid argument line 87 (actually 88 now with the alert) and the css does not render. I suspect it has to do with the page initialization and when the javascript in this htc file is being called. If this is the case, why is it working on the first page load, what makes how the htc file is called different during a post back when SmartNavigation=Ture.? Any ideas what to do to get this IE hack working with SmartNavigation?

Here is the page:
http://innerworkingdesigns.com/demos/radius/test.aspx

Click here to view the htc file
http://innerworkingdesigns.com/demos/radius/styles/border-radius.htc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:43:47+00:00Added an answer on June 15, 2026 at 3:43 am

    The problem is with SmartNavigation=True. Removing this or setting to false fixes the problem. You will still be left with any issues that SmartNavigation=True resolved but this is minor and SmartNavigation has been deprecated http://msdn.microsoft.com/en-us/library/system.web.ui.page.smartnavigation.aspx.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the popular restful authentication app/tutorial found here: http://railsforum.com/viewtopic.php?pid=74245#p74245 I have been using
I'm curious to know how the popular CSS triangles are made using just borders.
I've visit some popular blogs these days I see that they actually using some
I'm using the popular JQuery Autocomplete plugin below. http://jqueryui.com/demos/autocomplete/ Currently if you type a
I am using the (most popular) Bootstrap extension in Yii made by Chris83, and
A popular editor uses highlighting to help programmers avoid using C++ keywords in Java.
What are the most popular architecture with dotnet? Right now i am using ASP.NET
I'm researching HTML5 History API, and curious what popular websites are using it. I
Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
I've seen a couple of other posts on here in regards to jQuery .css()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.