I am creating a pdf from a web page, from an array. After I get the data, then open a new aspx page to do all the custom formatting. This works no issues. The problem is that in the array, after i get the data I cant loop thru the array and open a new page each time.
I use a response.redirect to load data to the new page, save as a pdf, and then redirects back to beginning page without creating additional pdf's from array data...
a bit of code:
For Each dataRow As DataRow In tableReferalData.Rows
Dim ReferralID As String = dataRow.Item(ReferralID).ToString
blah blah additional code is here
Dim _ReferralSleeve As New ReferralSleeve.ReferralSleeve(ReferralID, leftvert, rightvert, lv_01, rv_01, center_l1, center_l2, center_l3, ls_id1, rv_complete_name, rv_complete_Addr, rv_complete_C_S_Z, rv_complete_phone, bt_line1, bt_line2, bt_line3)
Session(referralsleeve) = _ReferralSleeve
response.redirect(takes data from above and builds a web page, I then convert to a pdf and save to dir)
next
The first pdf builds correctly, but then stops as I cant figure out how to get back to this point from the next page...