how to block (or) remove template columns and columns from exporting into excel

2 posts, 0 answers
  1. Ranganathan
    Ranganathan avatar
    1 posts
    Member since:
    Aug 2014

    Posted 15 Sep 2014 Link to this post

    Hi Team,

    Our requirement is to show more than 30 columns in the grid .Refer the attachment for the html.

    We have placed a button below to grid to export only 20 columns from the grid into excel and pdf. So we have tried this functionality by setting Exportable="false"  in the rest of the 10 columns which we don't want to be the part of export.

    Those 20 columns which are needs to be part of export is combination of GridTemplate column,GridBound Column and GridNumeric column. Please refer the attachment.

    The problem which we are facing is even though we put Exportable="false" to the 10 columns which are not to be part of export to excel are getting exported .For example in the attachment right now we are trying to block the below columns from export but it not working.

    Columns that needs to be blocked from export:-
    1) AuditTrail
    2) AuditTrailId
    3) SystemMessage
    4) ErrorIdMessage
    5) ErrorDivid
  2. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 18 Sep 2014 Link to this post

    Hi Ranganathan,

    I have already answer your question in the opened support ticket. I would recommend you to continue our conversation there if you need further assistance.

    Regards,
    Kostadin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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