Click here to Skip to main content
15,925,081 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: PayPal IPN System Pin
rahul.net113-Jun-08 21:15
rahul.net113-Jun-08 21:15 
AnswerRe: PayPal IPN System Pin
eyeseetee3-Jun-08 21:45
eyeseetee3-Jun-08 21:45 
AnswerRe: PayPal IPN System Pin
Vasudevan Deepak Kumar3-Jun-08 22:13
Vasudevan Deepak Kumar3-Jun-08 22:13 
QuestionAuto time Refresh when page is refresh. Pin
Member 41836533-Jun-08 20:50
Member 41836533-Jun-08 20:50 
AnswerRe: Auto time Refresh when page is refresh. Pin
rahul.net113-Jun-08 21:17
rahul.net113-Jun-08 21:17 
Question3 Tier Architecture? Pin
S.Aijaz3-Jun-08 20:27
S.Aijaz3-Jun-08 20:27 
AnswerRe: 3 Tier Architecture? Pin
rahul.net113-Jun-08 21:19
rahul.net113-Jun-08 21:19 
Questionopen new window from server side on button click Pin
For_IT3-Jun-08 20:02
For_IT3-Jun-08 20:02 
Hi all,

I would like to open new window on button click from sever side and write HTML content to it. I have written following code but this writes the HTML content to the main window instead of the new opened window.

protected void btnClick_Click(object sender, EventArgs e)
   {
       Response.Write("<SCRIPT LANGUAGE=\"JavaScript\">\n");
       Response.Write("window.open( '','popup','toolbar=no,menubar=no,scrollbars=1,width=750,height=800')");
       Response.Write("</script>");
       Response.Write("<html><head>");
       Response.Write("</head><body>");
       Response.Write("<div id='lnk' class='noprint' style='text-align:right'>");
       Response.Write("<a href='#' onclick='window.print();return false;'>Print</a>&nbsp");
       Response.Write("<a href='#' onclick='window.close();return false;'>Close</a>");
       Response.Write("</div>");
       Response.Write("<div id='printv' class='print'>");
       Response.Write("This is test");
       Response.Write("</div>");

   }


can anyone please suggest me how can I achieve this?

Thanks a lot.
AnswerRe: open new window from server side on button click Pin
Vasudevan Deepak Kumar3-Jun-08 20:13
Vasudevan Deepak Kumar3-Jun-08 20:13 
QuestionQUESTION Pin
nithydurai3-Jun-08 19:55
nithydurai3-Jun-08 19:55 
AnswerRe: QUESTION Pin
Vasudevan Deepak Kumar3-Jun-08 19:58
Vasudevan Deepak Kumar3-Jun-08 19:58 
AnswerRe: QUESTION Pin
eyeseetee3-Jun-08 21:43
eyeseetee3-Jun-08 21:43 
Questionjavascript prompt box Pin
rahul.net113-Jun-08 19:34
rahul.net113-Jun-08 19:34 
AnswerRe: javascript prompt box Pin
Vasudevan Deepak Kumar3-Jun-08 19:58
Vasudevan Deepak Kumar3-Jun-08 19:58 
QuestionRe: javascript prompt box Pin
rahul.net113-Jun-08 20:01
rahul.net113-Jun-08 20:01 
AnswerRe: javascript prompt box Pin
Guffa3-Jun-08 20:28
Guffa3-Jun-08 20:28 
GeneralRe: javascript prompt box Pin
rahul.net113-Jun-08 20:37
rahul.net113-Jun-08 20:37 
Questionhow i can update web application on client hosting server Pin
wasimsharp3-Jun-08 19:29
wasimsharp3-Jun-08 19:29 
AnswerRe: how i can update web application on client hosting server Pin
Vasudevan Deepak Kumar3-Jun-08 20:00
Vasudevan Deepak Kumar3-Jun-08 20:00 
GeneralRe: how i can update web application on client hosting server Pin
wasimsharp3-Jun-08 20:18
wasimsharp3-Jun-08 20:18 
GeneralRe: how i can update web application on client hosting server Pin
Vasudevan Deepak Kumar3-Jun-08 20:21
Vasudevan Deepak Kumar3-Jun-08 20:21 
General[Message Deleted] Pin
wasimsharp3-Jun-08 20:27
wasimsharp3-Jun-08 20:27 
GeneralRe: how i can update web application on client hosting server Pin
Vasudevan Deepak Kumar3-Jun-08 20:32
Vasudevan Deepak Kumar3-Jun-08 20:32 
GeneralRe: how i can update web application on client hosting server Pin
eyeseetee3-Jun-08 21:42
eyeseetee3-Jun-08 21:42 
GeneralRe: how i can update web application on client hosting server Pin
wasimsharp4-Jun-08 0:52
wasimsharp4-Jun-08 0: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.