Click here to Skip to main content
16,004,901 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralServlets alternative in asp.net Pin
chanzeb4-Jan-08 1:20
chanzeb4-Jan-08 1:20 
GeneralDouble post -> Please ignore Pin
N a v a n e e t h4-Jan-08 1:24
N a v a n e e t h4-Jan-08 1:24 
GeneralRe: Servlets alternative in asp.net Pin
Paul Conrad4-Jan-08 15:23
professionalPaul Conrad4-Jan-08 15:23 
GeneralDisplaying images in the DataGrid Pin
.NET- India 4-Jan-08 1:18
.NET- India 4-Jan-08 1:18 
GeneralRe: Displaying images in the DataGrid Pin
Declan Bright4-Jan-08 1:38
Declan Bright4-Jan-08 1:38 
QuestionHow to create Grid View Skin Pin
wasimsharp4-Jan-08 1:16
wasimsharp4-Jan-08 1:16 
QuestionVideo Conferencing and Live Chatting Pin
Raghvendra Kumar Roy4-Jan-08 0:51
Raghvendra Kumar Roy4-Jan-08 0:51 
GeneralPop Up window not working Pin
Shajeel3-Jan-08 23:30
Shajeel3-Jan-08 23:30 
Hi,

I am generating a report using a popup window i am opening the popup window using
window.open("Reports.aspx", "", "fullscreen=no, width=925,height=700,top=5,left=30", false);

In that window's code behind i am printing report using this code
CrystalDecisions.Shared.ExportOptions expOp=crDocument.ExportOptions;				
CrystalDecisions.Shared.DiskFileDestinationOptions destOp=new CrystalDecisions.Shared.DiskFileDestinationOptions();
Response.ClearContent();
Response.ClearHeaders();
destOp.DiskFileName=Server.MapPath("..\\Reports\\")+Session.SessionID.ToString() + ".xls";
expOp.ExportFormatType=CrystalDecisions.Shared.ExportFormatType.Excel;
ExcelFormatOptions options = new ExcelFormatOptions();
options.ExcelUseConstantColumnWidth = false;
expOp.FormatOptions = options;
Response.ContentType = "application/vnd.ms-excel";
expOp.DestinationOptions=destOp;
expOp.ExportDestinationType=CrystalDecisions.Shared.ExportDestinationType.DiskFile;
crDocument.Export();
Response.WriteFile(destOp.DiskFileName);
Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));
Response.Flush();
Response.Close();
System.IO.File.Delete(destOp.DiskFileName);
Response.End();

problem is when i click the button for opening window twice second window takes the report of first window and first window shows blank. I want both reports to show. am i doing some thing wrong here??

Regards
Shajeel

Generalcompare datagrid cell value with datatable values....., Pin
Member 38798813-Jan-08 23:17
Member 38798813-Jan-08 23:17 
GeneralRe: compare datagrid cell value with datatable values....., Pin
Declan Bright4-Jan-08 0:12
Declan Bright4-Jan-08 0:12 
GeneralRe: compare datagrid cell value with datatable values....., Pin
Member 38798814-Jan-08 0:32
Member 38798814-Jan-08 0:32 
GeneralRe: compare datagrid cell value with datatable values....., Pin
Declan Bright4-Jan-08 0:59
Declan Bright4-Jan-08 0:59 
GeneralXML Connection Pin
Kapil Chauhan3-Jan-08 23:13
Kapil Chauhan3-Jan-08 23:13 
GeneralRe: XML Connection Pin
N a v a n e e t h4-Jan-08 0:35
N a v a n e e t h4-Jan-08 0:35 
Generaldrop down menu in asp.net Pin
hk3-Jan-08 22:54
hk3-Jan-08 22:54 
GeneralRe: drop down menu in asp.net Pin
Christian Graus3-Jan-08 23:24
protectorChristian Graus3-Jan-08 23:24 
GeneralMailMerge Pin
ganeshMohan3-Jan-08 22:36
ganeshMohan3-Jan-08 22:36 
QuestionRegex Pin
AnhTin3-Jan-08 22:30
AnhTin3-Jan-08 22:30 
GeneralRe: Regex Pin
Sonia Gupta3-Jan-08 22:56
Sonia Gupta3-Jan-08 22:56 
GeneralRe: Regex Pin
N a v a n e e t h4-Jan-08 0:50
N a v a n e e t h4-Jan-08 0:50 
GeneralRe: Regex Pin
N a v a n e e t h4-Jan-08 0:39
N a v a n e e t h4-Jan-08 0:39 
QuestionRe: Regex Pin
AnhTin4-Jan-08 16:30
AnhTin4-Jan-08 16:30 
Questionhow to stop cursor on the gridview textbox Pin
jagan1233-Jan-08 21:49
jagan1233-Jan-08 21:49 
AnswerRe: how to stop cursor on the gridview textbox Pin
Laxmikant Lad3-Jan-08 22:01
Laxmikant Lad3-Jan-08 22:01 
AnswerRe: how to stop cursor on the gridview textbox Pin
Sathesh Sakthivel3-Jan-08 22:06
Sathesh Sakthivel3-Jan-08 22:06 

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.