[
  {
    "Id": "243668",
    "ThreadId": "71441",
    "Html": "<p>Hi Cheeso,</p>\r\n<p>We'd &nbsp;like to offer&nbsp;our&nbsp;customers a way to build a list of files they'd like to include in their own zip file - to be downloaded either right away ( from Disc or Response.OutputStream)&nbsp;or&nbsp;later - before their done browsing our site).</p>\r\n<p>The way they'd be able to pick files is to go through the different GridViews I have (different pages within the same online app).&nbsp; Each GridView has a checkbox column to indicate the file that they want to add.</p>\r\n<p>Any ides on the way to approach this?</p>\r\n<p>Thanks,</p>\r\n<p>Doug</p>\r\n<p><span style=\"font-family:Arial;font-size:x-small\">\r\n<p>&nbsp;</p>\r\n</span></p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-10-08T18:02:26.833-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "243679",
    "ThreadId": "71441",
    "Html": "<p>Yes, there's an example you can download at <a href=\"http://dotnetzip.codeplex.com/Wiki/View.aspx?title=ASPNET Example 1&referringTitle=Home\">http://dotnetzip.codeplex.com/Wiki/View.aspx?title=ASPNET%20Example%201&amp;referringTitle=Home</a>&nbsp;</p>\r\n<p>It looks like this:</p>\r\n<p><img src=\"http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=DotNetZip&DownloadId=4337\" alt=\"\"></p>\r\n<p>It doesn't use a GridView -&nbsp; it uses an ASPNET ListView with checkboxes.&nbsp; But, same idea.</p>",
    "PostedDate": "2009-10-08T18:50:13.597-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "243687",
    "ThreadId": "71441",
    "Html": "\r\n<div>Hey that's great!</div>\r\n<div> </div>\r\n<div>Thanks Cheeso.</div>\r\n<blockquote style=\"border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px\" dir=ltr>\r\n  <div style=\"font:10pt arial\">----- Original Message ----- </div>\r\n  <div style=\"font:10pt arial;background:#e4e4e4;font-color:black\"><b>From:</b> \r\n  [email removed] </div>\r\n  <div style=\"font:10pt arial\"><b>To:</b> [email removed] </div>\r\n  <div style=\"font:10pt arial\"><b>Sent:</b> Thursday, October 08, 2009 6:50 \r\n  PM</div>\r\n  <div style=\"font:10pt arial\"><b>Subject:</b> Re: Create ZipFile from a file \r\n  list [DotNetZip:71441]</div>\r\n  <div><br></div>\r\n  \r\n\r\n  <p>From: Cheeso</p>\r\n  <div id=ThreadNotificationPostBody>\r\n  <p>Yes, there's an example you can download at <a href=\"http://dotnetzip.codeplex.com/Wiki/View.aspx?title=ASPNET Example 1&referringTitle=Home\">http://dotnetzip.codeplex.com/Wiki/View.aspx?title=ASPNET%20Example%201&referringTitle=Home</a> </p>\r\n  <p>It looks like this:</p>\r\n  <p><img alt=\"\" src=\"http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=DotNetZip&DownloadId=4337\"></p>\r\n  <p>It doesn't use a GridView -  it uses an ASPNET ListView with \r\n  checkboxes.  But, same idea.</p></div>\r\n  </blockquote>",
    "PostedDate": "2009-10-08T19:18:23.43-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "412648",
    "ThreadId": "71441",
    "Html": "<p>Hi.</p>\r\n<p>I've searched for a way to select the files you want to add to zip, instead of choosing the whole folder, and I came up with the above example.</p>\r\n<p>Since I already have a selection of files to download, with a date, description and name, what I am looking for, is a way to pick the requested files with a checkbox, instead of having it buily dinamically.</p>\r\n<p>&nbsp;</p>\r\n<p>To make this simpler, I'll show a little portion:</p>\r\n<p>\r\n<div style=\"color:Black;background-color:White\">\r\n<pre>\t <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">tr</span><span style=\"color:Blue\">&gt;</span>\r\n                <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">th</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;8%&quot;</span> <span style=\"color:Red\">height</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;25px&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;center&quot;</span><span style=\"color:Blue\">&gt;</span>\r\n                    <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>C&oacute;digo<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>\r\n                <span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">th</span><span style=\"color:Blue\">&gt;</span>\r\n                <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">th</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;57%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;center&quot;</span><span style=\"color:Blue\">&gt;</span>\r\n                    <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>Designa&ccedil;&atilde;o<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>\r\n                <span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">th</span><span style=\"color:Blue\">&gt;</span>\r\n                <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">th</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;17%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;center&quot;</span><span style=\"color:Blue\">&gt;</span>\r\n                    <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>Disponibilizado em<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>\r\n                <span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">th</span><span style=\"color:Blue\">&gt;</span>\r\n                <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">th</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;18%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;center&quot;</span><span style=\"color:Blue\">&gt;</span>\r\n                    <span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>Observa&ccedil;&otilde;es<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>\r\n                <span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">th</span><span style=\"color:Blue\">&gt;</span>\r\n     <span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">tr</span><span style=\"color:Blue\">&gt;</span>\r\n</pre>\r\n</div>\r\n</p>\r\n<p>\r\n<div style=\"color:Black;background-color:White\">\r\n<pre><span style=\"color:Blue\">     &lt;</span><span style=\"color:#A31515\">tr</span> <span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">td</span> <span style=\"color:Red\">border</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;1&quot;</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;8%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">center</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">p</span> <span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">input</span> <span style=\"color:Red\">type</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;checkbox&quot;</span> <span style=\"color:Red\">name</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;option1&quot;</span> <span style=\"color:Red\">value</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;EncGlobal&quot;</span><span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">a</span> <span style=\"color:Red\">href</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;docs/EncG90012010.zip&quot;</span><span style=\"color:Blue\">&gt;</span>Encontro 9001<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">a</span><span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">p</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">td</span><span style=\"color:Blue\">&gt;</span>\r\n\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">td</span> <span style=\"color:Red\">border</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;1&quot;</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;57%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">left</span><span style=\"color:Blue\">&gt;</span>\r\n  \t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">p</span> <span style=\"color:Blue\">&gt;</span>Encontro de Auditores ISO 9001 (2010)<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">p</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">td</span><span style=\"color:Blue\">&gt;</span>\r\n\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">td</span> <span style=\"color:Red\">border</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;1&quot;</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;17%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">center</span><span style=\"color:Blue\">&gt;</span>\r\n  \t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">p</span> <span style=\"color:Blue\">&gt;</span>02/10<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">p</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">td</span><span style=\"color:Blue\">&gt;</span>\r\n\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">td</span> <span style=\"color:Red\">border</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;1&quot;</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;18%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">center</span><span style=\"color:Blue\">&gt;</span>\r\n  \t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">p</span> <span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>NOVO<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">p</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">td</span><span style=\"color:Blue\">&gt;</span>\r\n  \r\n\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">tr</span><span style=\"color:Blue\">&gt;</span>\t\r\n</pre>\r\n</div>\r\n</p>\r\n<p>How can I retrieve the checkbox options for it to build the zip file?</p>\r\n<p>&nbsp;</p>\r\n<p>Any help is very much appreciated</p>",
    "PostedDate": "2010-03-01T04:38:39.417-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "412798",
    "ThreadId": "71441",
    "Html": "<p>&gt; what I am looking for, is a way to pick the requested files with a checkbox, instead of having it buily dinamically.</p>\r\n<p>I don't know what you mean.&nbsp; The example I cited examines the checked items like this:</p>\r\n<div style=\"color:Black;background-color:White\">\r\n<pre><span style=\"color:Blue\">foreach</span> (<span style=\"color:Blue\">var</span> item <span style=\"color:Blue\">in</span>  FileListView.Items)\r\n{\r\n    CheckBox chkbox= item.FindControl(<span style=\"color:#A31515\">&quot;include&quot;</span>) <span style=\"color:Blue\">as</span> CheckBox ;\r\n    Label lbl= item.FindControl(<span style=\"color:#A31515\">&quot;label&quot;</span>) <span style=\"color:Blue\">as</span> Label ;\r\n\r\n    <span style=\"color:Blue\">if</span> (chkbox!=<span style=\"color:Blue\">null</span>  &amp;&amp; lbl != <span style=\"color:Blue\">null</span>)\r\n    {\r\n\t<span style=\"color:Blue\">if</span> (chkbox.Checked)\r\n\t{\r\n\t    ErrorMessage.InnerHtml += String.Format(<span style=\"color:#A31515\">&quot;adding file: {0}&lt;br/&gt;\\n&quot;</span>, lbl.Text);\r\n\t    filesToInclude.Add(System.IO.Path.Combine(sMappedPath,lbl.Text));\r\n\t}\r\n    }\r\n}\r\n\r\n\r\n</pre>\r\n</div>",
    "PostedDate": "2010-03-01T10:54:29.17-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "412805",
    "ThreadId": "71441",
    "Html": "<p>Let me try to explain this better.</p>\r\n<p>&nbsp;</p>\r\n<p>Instead of the list of downloads available being built dinamically (reading from the folder, the files and then make each entry for each file), I want to be able to have the list of files in the html, just like the example of code that i posted.\r\n<div style=\"color:Black;background-color:White\">\r\n<pre><span style=\"color:Blue\">         &lt;</span><span style=\"color:#A31515\">tr</span> <span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">td</span> <span style=\"color:Red\">border</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;1&quot;</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;8%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">center</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">p</span> <span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">input</span> <span style=\"color:Red\">type</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;checkbox&quot;</span> <span style=\"color:Red\">name</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;option1&quot;</span> <span style=\"color:Red\">value</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;EncGlobal&quot;</span><span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">a</span> <span style=\"color:Red\">href</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;docs/EncG90012010.zip&quot;</span><span style=\"color:Blue\">&gt;</span>Encontro 9001<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">a</span><span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">p</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">td</span><span style=\"color:Blue\">&gt;</span>\r\n\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">td</span> <span style=\"color:Red\">border</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;1&quot;</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;57%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">left</span><span style=\"color:Blue\">&gt;</span>\r\n  \t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">p</span> <span style=\"color:Blue\">&gt;</span>Encontro de Auditores ISO 9001 (2010)<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">p</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">td</span><span style=\"color:Blue\">&gt;</span>\r\n\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">td</span> <span style=\"color:Red\">border</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;1&quot;</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;17%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">center</span><span style=\"color:Blue\">&gt;</span>\r\n  \t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">p</span> <span style=\"color:Blue\">&gt;</span>02/10<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">p</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">td</span><span style=\"color:Blue\">&gt;</span>\r\n\r\n\t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">td</span> <span style=\"color:Red\">border</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;1&quot;</span> <span style=\"color:Red\">width</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">&quot;18%&quot;</span> <span style=\"color:Red\">align</span><span style=\"color:Blue\">=</span><span style=\"color:Blue\">center</span><span style=\"color:Blue\">&gt;</span>\r\n  \t\t<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">p</span> <span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span>NOVO<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">b</span><span style=\"color:Blue\">&gt;</span><span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">p</span><span style=\"color:Blue\">&gt;</span>\r\n\t\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">td</span><span style=\"color:Blue\">&gt;</span>\r\n  \r\n\t<span style=\"color:Blue\">&lt;/</span><span style=\"color:#A31515\">tr</span><span style=\"color:Blue\">&gt;</span>\t\r\n\r\n</pre>\r\n</div>\r\n</p>\r\n<p>The checkbox on the above example was added by me, to better explain what I need. I have like a 100 files available on the asp page, just like that and I want to be able to click on the checkbox of each one, but i can't have that list coming from the list of files on the folder.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-03-01T11:05:19.887-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "412826",
    "ThreadId": "71441",
    "Html": "<p>ok, you want an HTML file with ~100 files, and you don't want that html to be generated dynamically.&nbsp;</p>\r\n<p>And you want a checkbox by each of those files.</p>\r\n<p>That all seems easy.&nbsp; I think you have that part covered.&nbsp; What's the question?</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-03-01T11:45:25.683-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "412867",
    "ThreadId": "71441",
    "Html": "<p>i get that</p>\r\n<p>&nbsp;</p>\r\n<p>\r\n<div style=\"color:Black;background-color:White\">\r\n<pre>foreach (var item in  FileListView.Items)\r\n{\r\n    CheckBox chkbox= item.FindControl(&quot;include&quot;) as CheckBox ;\r\n    Label lbl= item.FindControl(&quot;label&quot;) as Label ;\r\n\r\n    if (chkbox!=null  &amp;&amp; lbl != null)\r\n    {\r\n\tif (chkbox.Checked)\r\n\t{\r\n\t    ErrorMessage.InnerHtml += String.Format(&quot;adding file: {0}<span style=\"color:Blue\">&lt;</span><span style=\"color:#A31515\">br</span><span style=\"color:Blue\">/&gt;</span>\\n&quot;, lbl.Text);\r\n\t    filesToInclude.Add(System.IO.Path.Combine(sMappedPath,lbl.Text));\r\n\t}\r\n    }\r\n}\r\n\r\n<br>will add the checked files to the zip from the filelistview, but i'm not going to use filelistview or listview right? so how do i make my checked files zipped?<br>that's what i want to know. how to adapat the above, to zip the files if i'm not populating the webpage dynamically.\r\n</pre>\r\n</div>\r\n</p>",
    "PostedDate": "2010-03-01T13:19:10.72-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "412873",
    "ThreadId": "71441",
    "Html": "<p>ok, yours is more of an ASPNET question.</p>\r\n<p>Even if you're not populating dynamically, you can still have a FileListView control - statically created.&nbsp;</p>\r\n<p>But maybe you want to enumerate through all the checkboxes a different way.&nbsp; Maybe you're choosing a different control to use.</p>\r\n<p>Try searching for ASPNET example code.&nbsp; <a href=\"http://www.bing.com/search?q=ASPNET+checkbox+state+form+submit+&form=QBRE&qs=n\">http://www.bing.com/search?q=ASPNET+checkbox+state+form+submit+&amp;form=QBRE&amp;qs=n</a>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-03-01T13:26:18.373-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "413193",
    "ThreadId": "71441",
    "Html": "<p>I'm just not very good at this.</p>\r\n<p>I can't seem to understand how will I add the files from the checked boxes to the zip.</p>\r\n<p>Somewhere between</p>\r\n<p>&lt;asp:Checkbox ID=&quot;include&quot; runat=&quot;server&quot;/&gt; on the list of files available and</p>\r\n<p>Dim filesToInclude as New System.Collections.Generic.List(Of String)()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim chkbox As CheckBox = CType(FindControl(&quot;include&quot;), Check</p>\r\n<p>Using zip As New ZipFile()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.AddFiles()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.Save(Response.OutputStream)</p>\r\n<p>for the actual zip saving and downloading. Could you help me out?</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-03-02T07:11:04.75-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "413242",
    "ThreadId": "71441",
    "Html": "<p>yes, go to any one of the first three links on this search: <a href=\"http://www.bing.com/search?q=asp.net+checkbox+example&FORM=QBHP\">http://www.bing.com/search?q=asp.net+checkbox+example&amp;FORM=QBHP</a></p>\r\n<p>They are all examples of how to use the checkbox control in aspnet.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-03-02T08:35:06.583-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]