﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Webgrid server side export</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-server-side-export/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Webgrid server side export</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-server-side-export/</link><pubDate>Fri, 19 Feb 2010 04:28:46 GMT</pubDate><dc:creator>faizalrahman4u@live.com</dc:creator><description>&lt;p&gt;Ok, thanks&lt;/p&gt;</description></item><item><title>Webgrid server side export</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-server-side-export/</link><pubDate>Thu, 18 Feb 2010 22:01:48 GMT</pubDate><dc:creator>julia</dc:creator><description>&lt;p&gt;Hi Allan,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am sorry but currently we don't support the feature right now. If you want to display the export report immediately, you need to do it from client side.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>Webgrid server side export</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-server-side-export/</link><pubDate>Wed, 17 Feb 2010 06:08:51 GMT</pubDate><dc:creator>faizalrahman4u@live.com</dc:creator><description>&lt;p&gt;Hi Julia,&lt;/p&gt;&lt;p&gt;Thanks for ur reply, &lt;/p&gt;
&lt;p&gt;But this is not the way ineeded. i have to redirect directly to to report on button click.&lt;/p&gt;
&lt;p&gt;In client side am getting, but have to check in serverside to know which is faster..&lt;/p&gt;
&lt;p&gt;Regards &lt;/p&gt;
&lt;p&gt;Allan&lt;/p&gt;</description></item><item><title>Webgrid server side export</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-server-side-export/</link><pubDate>Wed, 17 Feb 2010 04:44:20 GMT</pubDate><dc:creator>julia</dc:creator><description>&lt;p&gt;Hi Allan,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;By using server-side programmatically, the result would not pop up automatically. To make you can get into the result easily, I suggest you use e.g. label control for this. &lt;/p&gt;
&lt;p&gt;Below is the sample code:&lt;/p&gt;&lt;pre&gt;Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)
    WebGrid1.ExportGrid(SetDynInfo())
    Label1.Text &amp;#43;= "&amp;lt;br/&amp;gt; &amp;lt;a href = 'TempReports/WebGridToPdf.pdf'&amp;gt;[WebGrid to PDF]&amp;lt;/a&amp;gt; "
End Sub&lt;/pre&gt;&lt;pre&gt;Private Function SetDynInfo() As DynARInfo
    Dim dynInfo As DynARInfo = New DynARInfo("pdf", Server.MapPath("./TempReports/"), "WebGridToPdf")
    dynInfo.IISReportPath = "/TempReports/"
    dynInfo.DynPageOrientation = PageOrientation.Portrait

    Return dynInfo
End Function&lt;/pre&gt;

&lt;p&gt;You can find this sample in our WebGrid's Sample &amp;gt; ProgrammaticExportServerSide.aspx.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I hope this help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>Webgrid server side export</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-server-side-export/</link><pubDate>Tue, 16 Feb 2010 09:02:17 GMT</pubDate><dc:creator>faizalrahman4u@live.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;How can i export webgrid values  to pdf from server side by clicking on a button.&lt;/p&gt;
&lt;p&gt;I have done a code, In TempReports folder report is coming.. but not displaying..&lt;/p&gt;
&lt;p&gt;on button click event&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;WebGrid1.ExportGrid(SetDynInfo())
&lt;/pre&gt;
&lt;p&gt;Function is: &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'courier new', tahoma; font-size: 12px; white-space: pre; "&gt;Private Function SetDynInfo() As DynARInfo&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;        Dim Infopdf As New DynARInfo("PDF", Server.MapPath("~/TempReports") &amp;amp; "\")
        Infopdf.IISReportPath = "/TempReports/"&lt;br /&gt;        Infopdf.DynPageOrientation = PageOrientation.Portrait&lt;br /&gt;        Return Infopdf
   &amp;nbsp;&lt;/pre&gt;&lt;pre&gt;End Function
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;</description></item></channel></rss>