Exclude some control from exporting through ClientExportManager

2 posts, 0 answers
  1. walter ciceri
    walter ciceri avatar
    4 posts
    Member since:
    May 2011

    Posted 03 May 2015 Link to this post

    Hi all

    I would like to know if it is possible exclude exporting of some control inside the export area. ( button for example )

    Tks in advance

    Walter

  2. Dimitar
    Admin
    Dimitar avatar
    281 posts

    Posted 04 May 2015 Link to this post

    Hello Walter,

    You could exclude an element from exporting by setting its display property to none, using the .k-pdf-export class in combination with a selector for the corresponding element:

    <style type="text/css">
        .k-pdf-export #myElementId {
            display:none;
        }
    </style>

    Thus, the element will be visible on your page, but it would not be exported.

    Regards,
    Dimitar
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top