﻿<?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 - Overriding TempReports Temp Path In WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Overriding-TempReports-Temp-Path-In-WebGrid/</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>Overriding TempReports Temp Path In WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Overriding-TempReports-Temp-Path-In-WebGrid/</link><pubDate>Wed, 29 Jun 2011 22:11:57 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Glad to hear the good news!&lt;/p&gt;
&lt;p&gt;Should you have further question about our product, please feel free to post your inquiry to this community forum, and we will be glad to assist you.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>Overriding TempReports Temp Path In WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Overriding-TempReports-Temp-Path-In-WebGrid/</link><pubDate>Tue, 28 Jun 2011 08:42:37 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;p&gt;Thank you Martin.  That helped.  It was hard, at first, to figure out, but your examples are very helpful and we got it working externally now.  What was not clear at first is the IISReportPath.  We essentially had to set up a separate location on another server that is virtually mapped to this folder inside the web application so it doesn't actually impact the application and possibly recycling it.&lt;/p&gt;</description></item><item><title>Overriding TempReports Temp Path In WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Overriding-TempReports-Temp-Path-In-WebGrid/</link><pubDate>Tue, 28 Jun 2011 04:38:54 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can use the following code in order to place the temporary exported file:&lt;/p&gt;&lt;pre&gt;protected void Button1_Click(object sender, EventArgs e)
{
   string file = WebGrid1.ExportGrid(new ISNet.WebUI.WebGrid.DynARInfo("html", Server.MapPath("/SISTemp/"), "WebGridToHTML")); // export grid data   
}&lt;/pre&gt;

&lt;p&gt;The exported file will be generated in SISTemp. Ensure that you have granted permission for user to access that folder, such as setting the security settings to Everyone.&lt;/p&gt;
&lt;p&gt;You can search the members of DynARInfo in WebGrid documentation. Simply search "DynARInfo Class Members", the choose the same name in the results.&lt;/p&gt;
&lt;p&gt;Hope this helps. Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Overriding TempReports Temp Path In WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Overriding-TempReports-Temp-Path-In-WebGrid/</link><pubDate>Fri, 24 Jun 2011 10:00:08 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;p&gt;Thanks Martin.  Can you uplease give me an example of using the following UNC path that's &lt;strong&gt;OUTSIDE&lt;/strong&gt; of the application directory structure?&lt;/p&gt;
&lt;p&gt;&lt;a href="file:///SISTemp/"&gt;\\LOCALHOST\SISTemp\&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So how would you configure the above since I don't understand what IISReportPath does.  Also, can you point me to the documentation for the DynARInfo please?  Thank you.&lt;/p&gt;</description></item><item><title>Overriding TempReports Temp Path In WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Overriding-TempReports-Temp-Path-In-WebGrid/</link><pubDate>Thu, 23 Jun 2011 22:14:24 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We do have this scenario in WebGrid documentation. You can try to use the following code:&lt;/p&gt;&lt;pre&gt;private void Button1_Click(object sender, System.EventArgs e)
{   
   // invoke the grid's export feature   
   // through the server side   
   WebGrid1.ExportGrid(SetDynInfo());
}

private DynARInfo SetDynInfo()
{   
   // configure the DynARInfo object   
   // as the parameter for the ExportGrid() method
                        
   // need to configure 4 things :   
   // dynInfo.ReportType   
   // dynInfo.ReportPath   
   // dynInfo.IISReportPath   
   // dynInfo.DynPageOrientation
                        
   DynARInfo dynInfo = new DynARInfo("html", Server.MapPath("~/TempReports") &amp;#43; @"\");   
   dynInfo.IISReportPath = "/TempReports/";   
   dynInfo.DynPageOrientation = PageOrientation.Portrait;   
   return dynInfo;
}&lt;/pre&gt;
&lt;p&gt;Hope this helps. Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>Overriding TempReports Temp Path In WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Overriding-TempReports-Temp-Path-In-WebGrid/</link><pubDate>Thu, 23 Jun 2011 11:52:49 GMT</pubDate><dc:creator>PRISMAY</dc:creator><description>&lt;p&gt;When we use the grid export, it uses a TempReports path that must exist within the application path so it can create/manage its temporary files for export.&lt;/p&gt;
&lt;p&gt;We don't want to have any temp files within our application path which can recycle the IIS application in the pool.  How can we override this with our own path?  Thanks.&lt;/p&gt;</description></item></channel></rss>