Threadpooling hangs the web page
<p>I am generating 1000's of PDFs from crystal report. Generating PDF one by one(sequentially) takes time which degrades performance. To improve performance i am using ThreadPooling which is generating PDFs much faster way but when the PDF generation completes. My webpage controls dont fire events i.e i have a radio button(autopostback=true) so i should fire an event when onchange event occurs but i dont understand whats going wrong it doesnt raise the event? Am i using threadpool in asp.net wrong way or is there any other class available which works same as threadpool?</p>

<pre><code>dynamic obj = new { strvalue = strvalue, SimulActual = SimulActual, IsCrewRPT = IsCrewRPT, rowcount = rowcount, FileName = FileName, RankP = RankP, RankCDP = RankCDP, intRowNo = intRowNo, rpt = rpt, ToYear = ToYear, Cdc_no = Cdc_no, TotalPDF = TotalPDF, TotalRowcount1 = TotalRowcount1 };
                    ThreadPool.QueueUserWorkItem(new WaitCallback(PDFActualOffThreadWithPanCard), obj);
                    ThreadPool.SetMaxThreads(10, 5);

                    obj = null;
</code></pre>
