I see people reporting problems with SmartNavigation, try to load the css file dynamically, for example<script language="javascript">
function window.load()
{
    document.createStyleSheet('../CSS/office.css');
}
</script>
you might want to show your code, so that people from Microsoft can try to duplicate it and find the cause

解决方案 »

  1.   

    谢谢思归!!我用javascript来控制样式可以避免这个问题。由于我的代码比较长,我就不贴出来了。大家可以用帧的形式去试一下,看是不是也会这样。还有,如果我要包含文件(我的是菜单)不刷新的话有没有什么途径可以解决?谢谢!!
      

  2.   

    不过,如果我用的是用户控件.ascx,那我如何用javascript导入CSS文件呢?
      

  3.   

    我以前试过一次smartNavigation
    结果页面不显示了,怎么回事?
      

  4.   

    如果要在整个项目中使用可以在webconfig中添加
    <page smartNavigation="true"/>