Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
UltraWebGrid Image buttons flickering
posted

Hi,

I have a problem with button column added to the UltraWebGrid. Almost everytime I mouse over the grid, buttons with attached images start to flicker. I've applied

CellButtonDisplay = UltraWebGrid.CellButtonDisplay.Always

And the css:

.MyOrdersCopyCellIcon
    {
        border: none 0 transparent;
        padding: 0px;
        margin: 0px;
        background: transparent url(../images/copy.ico) no-repeat inherit center; 
    }

Is there any way to avoid it ?

Thanks in advance

Bartek

  • 28464
    posted

    Hello,

    Page flickering ypically occurs due to a bug in browsers (IE mainly) with caching CSS background images. This has been a problem for quite a while, luckily recently a solution for it was found. Please, take a look at the following blog post for details:

    http://evil.che.lu/2006/9/25/no-more-ie6-background-flicker

    But generally, the solution is to place the following javascript line on top of your pages:

    document.execCommand("BackgroundImageCache",false,true);

    HTH,