Skip to main content

How to enable Internet Explorer 11 document modes?

Even though you have the latest version of Internet Explorer, you may need to render your web applications in different IE engines in order to test your applications’ compatibility in older browsers.

There 5 popular document modes:

  • IE7 (Compatibility Mode)
  • IE8 (Enterprise Mode)
  • IE9
  • IE10
  • IE11 (Edge Mode)

Here are the step by step instructions to turn them on…

Enable IE7 (Compatibility Mode)

  1. Click “Tools > Compatibility View settings”
  2. Select “Display intranet sites in Compatibility View”. This will make sure that intranet websites to be rendered in compatibility mode
  3. If it is an extranet website, type the domain and click “Add”

Enable IE8 (Enterprise Mode):

  1. Click “Tools > Enterprise Mode”

Enable IE9 Mode:

  1. Click “F12” to open “Developer Tools”
  2. Go to “Emulation”. Select “Desktop” in “Browser profile” and “9” in “Document mode”

Enable IE10 Mode

  1. Click “F12” to open “Developer Tools”
  2. Go to “Emulation”. Select “Desktop” in “Browser profile” and “10” in “Document mode”

Enable Edge Mode

  1. If you don’t select any mode above, it will be in Edge mode by default. You can also select “Edge” in “Developer Tools” to make sure.
    edge

 

Solved: “Telerik.Web.UI. GridGroupByException: Expression cannot be null or empty”

This issue may come out when you try to group table by a certain column in Telerik RadGrid:

Server Error in ‘/’ Application.
Expression cannot be null or empty
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Telerik.Web.UI.GridGroupByException: Expression cannot be null or empty

capture

Solution

The root cause of this issue is that there is no “group expression” defined for the column you are trying to use for grouping. Follow the steps below in order to solve the issue:

  1. In Design mode, click the RadGrid
  2. Expand the configuration menu and click “Open Configuration Wizard
  3. Click “MasterTableView
  4. Click “Columns
  5. Choose the column you want to use for grouping
  6. Enter expression into “GroupByExpression” field (Ex. “N_REQUEST_ID Group By N_REQUEST_ID”
    capture1

Reference: http://www.telerik.com/forums/gridgroupbyexception-expression-cannot-be-null-or-empty-f0b9e381526a

Solved: Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

A missing Java class may cause the issue below when you try to compile your project in Eclipse.

A Java Exception has occured
Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
at org.apache.catalina.util.LifecycleBase.<clinit>(LifecycleBase.java:37)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 1 more

a2

Solution

Follow the steps below to fix this issue.

  1. Find tomcat-juli.jar file in Tomcat installation folder (C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.0\bin)
  2. Unzip it and check if there is LogFactory class
  3. If the class doesn’t exist, download it from Apache website
  4. If it exists, copy tomcat-juli.jar file to Tomcat “lib” and JRE “lib” folders:
    C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.0\lib
    C:\Program Files (x86)\Java\jre1.8.0_101\lib