• fckeditor和asp.ent主题(them)冲突


    解决办法:

    1.
    在fckeditor的web.config文件中做如下修改
    <configuration>
    <appSettings/>
    <connectionStrings/>
    <system.web>
    <pages styleSheetTheme="" theme=""> </pages>
    </system.web>
    </configuration>

    2.当设置主题是用Global时

        void Application_PreRequestHandlerExecute(object src, EventArgs e)
            {
                Page page = this.Context.Handler as Page;
                if (page != null)
                {
                    page.PreInit += new EventHandler(Page_PreInit);
                }
            }

            void Page_PreInit(object sender, EventArgs e)
            {
                Page page = this.Context.Handler as Page;
                if (page != null)
                {
                    if (!page.ToString().Contains("ASP.fckeditor"))
                    {
                        page.Theme = Request.Cookies["lang"].Value;
                    }

                }
            }

  • 相关阅读:
    C语言中标识符的作用域、命名空间、链接属性、生命周期、存储类型
    循环练习
    ArrayList集合

    方法
    表单标签
    HTML基础
    二维数组
    一维数组
    switch选择结构
  • 原文地址:https://www.cnblogs.com/chencidi/p/1686448.html
Copyright © 2020-2023  润新知