Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 02:28:28 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to Export using PDF and Excel  (Read 1689 times)
redhat
Jr. Member
**
Posts: 19


View Profile
« on: May 09, 2009, 05:52:16 AM »

Hi , i am using sigma grid in my application , can you please the give me the code for exporting  in C# Asp.net

i have
var gridConfig={
   id : "grid1",   
   loadURL : '../CommonReport.aspx',
   exportURL : '../CommonReport.aspx?export=true',   
   exportFileName : 'test_export_doc',
   dataset : dsConfig ,
   columns : colsConfig ,
   container : 'grid1_container',
   toolbarPosition : 'bottom',
   toolbarContent : 'pdf'
 
};

What code i have to write in my "CommonReport.aspx" page for export options ,  i am using C# ASp.net

Thanks in advance ..
Logged
steven
Moderator
Hero Member
*****
Posts: 544



View Profile
« Reply #1 on: May 11, 2009, 06:02:06 AM »

In the grid package, you could find how to do export step by step in /tutorial folder
Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
steven
Moderator
Hero Member
*****
Posts: 544



View Profile
« Reply #2 on: May 11, 2009, 06:03:31 AM »

The tutorial is written in php, you have to do some changes for your .net program
Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!