Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: Compiling x86 - x64 Pin
V.14-Nov-11 22:57
professionalV.14-Nov-11 22:57 
GeneralRe: Compiling x86 - x64 Pin
Pete O'Hanlon14-Nov-11 23:04
mvePete O'Hanlon14-Nov-11 23:04 
GeneralRe: Compiling x86 - x64 Pin
V.14-Nov-11 23:21
professionalV.14-Nov-11 23:21 
GeneralRe: Compiling x86 - x64 Pin
harold aptroot14-Nov-11 23:07
harold aptroot14-Nov-11 23:07 
GeneralRe: Compiling x86 - x64 Pin
V.14-Nov-11 23:24
professionalV.14-Nov-11 23:24 
GeneralRe: Compiling x86 - x64 Pin
harold aptroot15-Nov-11 0:19
harold aptroot15-Nov-11 0:19 
GeneralRe: Compiling x86 - x64 Pin
V.15-Nov-11 0:37
professionalV.15-Nov-11 0:37 
QuestionPage Navigation Pin
pravin_mun14-Nov-11 18:43
pravin_mun14-Nov-11 18:43 
I have the following code after this execution i have to navigate to other Page can any one help me out..


Response.ContentType = "application/pdf";

Response.AddHeader("content-disposition", "attachment;filename=Export.pdf");
Response.Cache.SetCacheability(HttpCacheability.NoCache);
StringWriter sw = new StringWriter();
HtmlTextWriter hw = new HtmlTextWriter(sw);
HtmlForm frm = new HtmlForm();
gv.Parent.Controls.Add(frm);
frm.Attributes["runat"] = "server";
frm.Controls.Add(gv);
frm.RenderControl(hw);
StringReader sr = new StringReader(sw.ToString());
Document pdfDoc = new Document(PageSize.A4, 10f, 10f, 10f, 0f);
HTMLWorker htmlparser = new HTMLWorker(pdfDoc);
PdfWriter.GetInstance(pdfDoc, Response.OutputStream);
pdfDoc.Open();
htmlparser.Parse(sr);
pdfDoc.Close();
Response.Write(pdfDoc);
Response.End();

Response.Redirect()// Not working
Server.Transfer()// Not working

Please any one help me to navigate to other page here ??


Thanks in Advance.
AnswerRe: Page Navigation Pin
Hum Dum14-Nov-11 19:28
Hum Dum14-Nov-11 19:28 
GeneralRe: Page Navigation Pin
pravin_mun14-Nov-11 19:50
pravin_mun14-Nov-11 19:50 
AnswerRe: Page Navigation Pin
Łukasz Nowakowski15-Nov-11 3:06
Łukasz Nowakowski15-Nov-11 3:06 
QuestionPassing Generic List<> to other forms Pin
Kendall Bodkin14-Nov-11 13:36
Kendall Bodkin14-Nov-11 13:36 
AnswerRe: Passing Generic List to other forms Pin
Luc Pattyn14-Nov-11 16:07
sitebuilderLuc Pattyn14-Nov-11 16:07 
GeneralRe: Passing Generic List to other forms Pin
Kendall Bodkin14-Nov-11 16:54
Kendall Bodkin14-Nov-11 16:54 
AnswerRe: Passing Generic List to other forms Pin
Luc Pattyn14-Nov-11 17:51
sitebuilderLuc Pattyn14-Nov-11 17:51 
GeneralRe: Passing Generic List to other forms Pin
_Maxxx_14-Nov-11 18:15
professional_Maxxx_14-Nov-11 18:15 
GeneralRe: Passing Generic List to other forms Pin
BillWoodruff14-Nov-11 21:34
professionalBillWoodruff14-Nov-11 21:34 
GeneralRe: Passing Generic List to other forms Pin
Kendall Bodkin15-Nov-11 5:33
Kendall Bodkin15-Nov-11 5:33 
GeneralRe: Passing Generic List to other forms Pin
Pete O'Hanlon15-Nov-11 10:17
mvePete O'Hanlon15-Nov-11 10:17 
GeneralRe: Passing Generic List to other forms Pin
Kendall Bodkin15-Nov-11 10:24
Kendall Bodkin15-Nov-11 10:24 
QuestionNext Linq Question Pin
Kevin Marois14-Nov-11 12:44
professionalKevin Marois14-Nov-11 12:44 
AnswerRe: Next Linq Question Pin
BobJanova15-Nov-11 1:00
BobJanova15-Nov-11 1:00 
AnswerRe: Next Linq Question Pin
NeillJam17-Nov-11 22:50
NeillJam17-Nov-11 22:50 
QuestionLinq To Objects - How To Create Nested Objects Pin
Kevin Marois14-Nov-11 12:18
professionalKevin Marois14-Nov-11 12:18 
AnswerRe: Linq To Objects - How To Create Nested Objects Pin
BillWoodruff14-Nov-11 21:52
professionalBillWoodruff14-Nov-11 21:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.