Click here to Skip to main content
15,898,861 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Where's Guffa when we need him.... Pin
Sandeep Akhare16-Mar-07 2:28
Sandeep Akhare16-Mar-07 2:28 
Questionvalidation Pin
Sebastian T Xavier16-Mar-07 1:50
Sebastian T Xavier16-Mar-07 1:50 
QuestionRe: validation Pin
N a v a n e e t h16-Mar-07 2:02
N a v a n e e t h16-Mar-07 2:02 
AnswerRe: validation Pin
Sebastian T Xavier16-Mar-07 3:27
Sebastian T Xavier16-Mar-07 3:27 
AnswerRe: validation Pin
Marcus J. Smith16-Mar-07 3:26
professionalMarcus J. Smith16-Mar-07 3:26 
Questionvery urgent Pin
niki_nilu16-Mar-07 1:05
niki_nilu16-Mar-07 1:05 
AnswerRe: very urgent Pin
Sun Rays16-Mar-07 1:23
Sun Rays16-Mar-07 1:23 
AnswerRe: very urgent Pin
kubben16-Mar-07 1:30
kubben16-Mar-07 1:30 
That code is java script. If you are going to have your code behind send that to the aspx form you need to do a RegisterClientScriptBlock.

If you are using .net 1.1 then the code is like this:
uses System.Text;
...
StringBuilder scriptString.Append("");
scriptString.Append("window.open('test.aspx','POPUP','height=500, width=700,status= no, resizable= yes, scrollbars=yes, toolbar=no,location=no,menubar=no,left=200,top=250,directories=no ');");
scriptString.Append(@"");
RegisterClientScriptBlock("clientScript", scriptString.ToString);

if you are using .net 2.0:
uses System.Text;
...
// Get a ClientScriptManager reference from the Page class.
ClientScriptManager cs = Page.ClientScript;
Type cstype = this.GetType();
StringBuilder scriptString.Append("");
scriptString.Append("window.open('test.aspx','POPUP','height=500, width=700,status= no, resizable= yes, scrollbars=yes, toolbar=no,location=no,menubar=no,left=200,top=250,directories=no ');");
scriptString.Append(@"");
cs.RegisterStartupScript(cstype, "new Window", scriptString.ToString(), true);

Hope that helps.
Ben
AnswerRe: very urgent Pin
Not Active16-Mar-07 2:35
mentorNot Active16-Mar-07 2:35 
QuestionWhat is the difference between HTTP GET and POST method? Pin
crazy_mads16-Mar-07 0:51
crazy_mads16-Mar-07 0:51 
AnswerRe: What is the difference between HTTP GET and POST method? Pin
ca8msm16-Mar-07 0:57
ca8msm16-Mar-07 0:57 
AnswerRe: What is the difference between HTTP GET and POST method? Pin
N a v a n e e t h16-Mar-07 0:59
N a v a n e e t h16-Mar-07 0:59 
GeneralRe: What is the difference between HTTP GET and POST method? Pin
crazy_mads16-Mar-07 1:09
crazy_mads16-Mar-07 1:09 
GeneralRe: What is the difference between HTTP GET and POST method? Pin
crazy_mads16-Mar-07 1:57
crazy_mads16-Mar-07 1:57 
AnswerRe: What is the difference between HTTP GET and POST method? Pin
Member 14764239-Feb-10 8:16
Member 14764239-Feb-10 8:16 
Questionadd control at runtime Pin
vengaqua16-Mar-07 0:40
vengaqua16-Mar-07 0:40 
AnswerRe: add control at runtime Pin
ca8msm16-Mar-07 0:43
ca8msm16-Mar-07 0:43 
AnswerRe: add control at runtime Pin
Sandeep Akhare16-Mar-07 1:26
Sandeep Akhare16-Mar-07 1:26 
GeneralRe: add control at runtime Pin
RichardGrimmer16-Mar-07 2:22
RichardGrimmer16-Mar-07 2:22 
GeneralRe: add control at runtime Pin
Sandeep Akhare16-Mar-07 2:31
Sandeep Akhare16-Mar-07 2:31 
GeneralRe: add control at runtime Pin
vengaqua16-Mar-07 20:21
vengaqua16-Mar-07 20:21 
GeneralRe: add control at runtime Pin
vengaqua16-Mar-07 3:05
vengaqua16-Mar-07 3:05 
QuestionRe: add control at runtime Pin
vengaqua16-Mar-07 3:25
vengaqua16-Mar-07 3:25 
QuestionExtending the Textbox Control in ASP.Net using C# Pin
Neeraj Kr16-Mar-07 0:40
Neeraj Kr16-Mar-07 0:40 
AnswerRe: Extending the Textbox Control in ASP.Net using C# Pin
ca8msm16-Mar-07 0:52
ca8msm16-Mar-07 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.