Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
540
How to add download button in webgrid?
posted

Hello :

        I want to add a button in webgrid which shows "download" in text field and this column is data bound to database . When user clicks the button  the download dialogue appears for file download.   I adopt  netadvantage 2009 V2. How could I get it?

 

Daniel

Parents
No Data
Reply
  • 8607
    Offline posted

    Hello Daniel,

    This can be done by using the WebGridDocumentExporter or the WebGridExcelExporter (depending on the type of file that should be created for download).  The documentation suggests using a button outside of the grid and putting the export code in the button's click event.  If you want to add the button inside the grid, you could create a template column that holds a button.

    Let me know if you need more information.  I can forward your post to developer support for further assistance.


    Elizabeth Albert
    Localization Engineer

     

Children
No Data