Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Visual Style Builder > image does not rendered in custom skin

Not answered image does not rendered in custom skin

Feed from this thread
  • John avatar

    Posted on Oct 18, 2011 (permalink)

    I have created a custom skin using the Visual Style Builder. The new skin is based on a skin "Office2007". After deploying the new skin, I copied over two gif files from Office2007\Grid folder, SingleMinus.gif and SinglePlus.gif, to the grid folder under new skin. After the page loaded I can see the link to new skin's css file and custom color got applied. But those two images mentioned above did not show in my page.

    BTW, I modified the file Grid.OfficeBase.css as follows:

    .RadGrid_Office2007Base .rgAdd,
    .RadGrid_Office2007Base .rgRefresh,
    .RadGrid_Office2007Base .rgEdit,
    .RadGrid_Office2007Base .rgDel,
    .RadGrid_Office2007Base .rgFilter,
    .RadGrid_Office2007Base .rgPagePrev,
    .RadGrid_Office2007Base .rgPageNext,
    .RadGrid_Office2007Base .rgPageFirst,
    .RadGrid_Office2007Base .rgPageLast,
    .RadGrid_Office2007Base .rgSortAsc,
    .RadGrid_Office2007Base .rgSortDesc,
    .RadGrid_Office2007Base .rgUpdate,
    .RadGrid_Office2007Base .rgCancel,
    .RadGrid_Office2007Base .rgUngroup,
    .RadGrid_Office2007Base .rgExpXLS,
    .RadGrid_Office2007Base .rgExpDOC,
    .RadGrid_Office2007Base .rgExpPDF,
    .RadGrid_Office2007Base .rgExpCSV
    {
        background-image:url('Grid/sprite.gif');
    }

    .RadGrid_Office2007Base .rgExpand
    {
        background-image:url('Grid/SinglePlus.gif');
    }
    .RadGrid_Office2007Base .rgCollapse
    {
        background-image:url('Grid/SingleMinus.gif');
    }

    Any help would be very appreciated.

    Reply

  • John avatar

    Posted on Oct 18, 2011 (permalink)

    So really the question is how to customize the background image for rgExpand and rgCollapse.

    Reply

  • Posted on Oct 20, 2011 (permalink)

    Hi John,

    Are you sure the pathing is right, run something like fiddler: http://www.fiddler2.com/fiddler2/ and see what the staus code is, if the image is being asked for. Hope that helps.

    Thanks,
    James Campbell

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Visual Style Builder > image does not rendered in custom skin