How to Add or Remove RadGrid Borders

Thread is closed for posting
1 posts, 1 answers
  1. Answer
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 02 Apr 2010 Link to this post


    RadControls for ASP .NET AJAX version

    2009.1.311 and later
    .NET version 2.0 and later
    Visual Studio version 2005 and later
    Programming language

    Browser support

    all browsers supported by RadControls for ASP .NET AJAX

    In some cases you may want to use an embedded RadGrid skin, but add/remove its predefined borders. The GridLines ASP.NET property is of no use in this case, because it renders the obsolete rules HTML attribute, which is easily overridden by any CSS styles that may define borders.

    The following sample pages demonstrate how to add borders to a borderless embedded skin (e.g. Default) and how to remove them from a skin with borders (e.g. Office2007).
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.