Click here to Skip to main content
15,921,716 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: .NET Best Architecture!!!? Pin
minhpc_bk31-Oct-06 13:41
minhpc_bk31-Oct-06 13:41 
GeneralRe: .NET Best Architecture!!!? Pin
cloudking119661-Nov-06 19:08
cloudking119661-Nov-06 19:08 
QuestionHow to download text file on client system Pin
asprajesh30-Oct-06 18:15
asprajesh30-Oct-06 18:15 
QuestionAccessing Global Objects in User Controls Pin
GregStevensCA30-Oct-06 13:34
GregStevensCA30-Oct-06 13:34 
AnswerRe: Accessing Global Objects in User Controls Pin
minhpc_bk30-Oct-06 13:50
minhpc_bk30-Oct-06 13:50 
QuestionReturn XML. Please, need help. Thanks. Pin
shapper30-Oct-06 13:26
shapper30-Oct-06 13:26 
AnswerRe: Return XML. Please, need help. Thanks. Pin
minhpc_bk30-Oct-06 13:54
minhpc_bk30-Oct-06 13:54 
Questionproblem in writing client side script from code behind. Pin
Renukapadhamanaban30-Oct-06 12:43
Renukapadhamanaban30-Oct-06 12:43 
Hi all,

Task:

When user click a button the current window has to be closed and a new window should open to display information. I have to call a function to do certain task before closing this window and opening new.

Problem:

So in the click event of button i wrote:

callFunction();

string script = "@javascript:window.open('PrintMicroResults.aspx','printWindow','toolbar=no,titlebar=no,width=800,height=500,top=50,left=50,scrollbars=yes,resizable=yes');location.href='#';self.close();";

Page.RegisterStartupScript("print", script);

It is closing the current window but not opening the new window for page PrintMicroResults.

I tried the same window.open with in the client side script and its woking very well. i mean its opening new window for my page and closing the current.

But if i use anchor how do i call callFunction() which drive the information to display on page PrintMicroResult?

Can any one help me to make the task successful?

I appreciate the time you have taken.

Thanks a lot.

Cheers
Renu

AnswerRe: problem in writing client side script from code behind. Pin
minhpc_bk30-Oct-06 13:59
minhpc_bk30-Oct-06 13:59 
GeneralRe: problem in writing client side script from code behind. Pin
Renukapadhamanaban30-Oct-06 15:30
Renukapadhamanaban30-Oct-06 15:30 
AnswerRe: problem in writing client side script from code behind. Pin
Parwej Ahamad30-Oct-06 20:37
professionalParwej Ahamad30-Oct-06 20:37 
GeneralRe: problem in writing client side script from code behind. Pin
Renukapadhamanaban31-Oct-06 12:21
Renukapadhamanaban31-Oct-06 12:21 
GeneralRe: problem in writing client side script from code behind. Pin
Parwej Ahamad31-Oct-06 16:03
professionalParwej Ahamad31-Oct-06 16:03 
Questionassembly in .net Pin
saravanan0530-Oct-06 11:32
saravanan0530-Oct-06 11:32 
AnswerRe: assembly in .net Pin
minhpc_bk30-Oct-06 14:00
minhpc_bk30-Oct-06 14:00 
QuestionClasses in asp.net Pin
greekius30-Oct-06 11:03
greekius30-Oct-06 11:03 
AnswerRe: Classes in asp.net Pin
minhpc_bk30-Oct-06 14:02
minhpc_bk30-Oct-06 14:02 
GeneralRe: Classes in asp.net Pin
greekius30-Oct-06 20:39
greekius30-Oct-06 20:39 
GeneralRe: Classes in asp.net Pin
minhpc_bk31-Oct-06 0:24
minhpc_bk31-Oct-06 0:24 
QuestionSession_end and variables Pin
eggsovereasy30-Oct-06 10:25
eggsovereasy30-Oct-06 10:25 
AnswerRe: Session_end and variables Pin
Guffa30-Oct-06 11:17
Guffa30-Oct-06 11:17 
Questionlocking computer through asp.net Pin
aseef30-Oct-06 9:47
aseef30-Oct-06 9:47 
AnswerRe: locking computer through asp.net Pin
ToddHileHoffer30-Oct-06 9:56
ToddHileHoffer30-Oct-06 9:56 
GeneralRe: locking computer through asp.net Pin
aseef30-Oct-06 11:06
aseef30-Oct-06 11:06 
AnswerRe: locking computer through asp.net Pin
DavidNohejl30-Oct-06 10:36
DavidNohejl30-Oct-06 10:36 

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.