Amir Mirkamali

امیر میرکمالی

Rebuilding the Icon Cache Database in windows 7

Windows 7 still shows old icons after change! I found a solution but I don't think it's the best but it works.

Close all folders that are currently open.

  1. Press CTRL+SHIFT+ESC key sequence
  2. Right-click on the Explorer.exe process and kill it by selecting  End Process.
  3. At File menu of Task Manager, select New Task (Run…)
  4. Type CMD.EXE, and click OK
  5. At thePrompt window, type the commands line by line and press ENTER after each command:
    CD /d %userprofile%\AppData\Local
    DEL IconCache.db /a
  6. In Task Manager, click File, select New Task (Run…)
  7. Type EXPLORER.EXE, and click OK.

RadFormDecorator Problem with RTL Pages and checkboxes

The problem is that when clicking on the checkbox/radiobutton, then the vertical scrollbar jumps to the top!

This could happen in some scenarios because of the way RadFormDecorator styles checkboxes. When RadFormDecorator is used, the real checkboxes are hidden outside of the viewport. When the decorated checkbox is clicked however, browsers try to focus the real checkbox, hence the "jumping". To avoid that, the only thing that you usually need to do is to set position:relative to the parent container.

In this case however, because of the RTL mode, the approach is a bit different and need to add the following CSS the page:

   position: static !important;
   float: right;
   outline: 0;
   width: 0;
   height: 0;
   margin-top: -5px;
   FILTER: alpha(opacity=0)
   -moz-opacity: 0
   opacity: 0