How to Hide Grid Wrapper

4 posts, 0 answers
  1. Tejas
    Tejas avatar
    31 posts
    Member since:
    Mar 2011

    Posted 05 Apr 2013 Link to this post

    Hi,
    I'm using RadGrid all over in my project using Telerik's Hay skin which uses black Grid Wrapper. I want to be able to hide Wrapper entirely or change Its background to some other background color. Is It possible to add custom text i.e. some header text to inform user about what data it contains ?



    Please not the screen shot attached here for your reference.

    Thanks
  2. Galin
    Admin
    Galin avatar
    526 posts

    Posted 10 Apr 2013 Link to this post

    Hello Tejas,

    What do you mean with black Grid Wrapper? Could you please give us more details on what you are trying to achieve or possible a small running project that we can use to reproduce the case?


    All the best,
    Galin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tejas
    Tejas avatar
    31 posts
    Member since:
    Mar 2011

    Posted 10 Apr 2013 Link to this post

    Hi,
    Thank you for your reply. I solved it by setting RadGrid's ShowGroupPanel to false.
    I'm referring to Black strip on the image I posted.
    I was trying to create my custom skin using telerik's style builder where Its being referred as GridWrapper instead of GroupPanel.
    Please have a look at the screenshot below.



    Thanks,
    Tejas
  5. Galin
    Admin
    Galin avatar
    526 posts

    Posted 15 Apr 2013 Link to this post

    Hi Tejas,

    You can remove the border of the Group Panel with the following CSS rule
    .rgGroupPanel
    {
        border: 0 none;
    }

    Also, style the grid's borders with this rule
    div.RadGrid
    {
        border: 1px solid red;
    }

    For more information please refer to this blog post.

    Greetings,
    Galin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top