Click here to Skip to main content
16,005,437 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: onblur event is not working in java script Pin
BalasubramanianK24-Jun-08 19:29
BalasubramanianK24-Jun-08 19:29 
GeneralRe: onblur event is not working in java script Pin
Christian Graus24-Jun-08 19:34
protectorChristian Graus24-Jun-08 19:34 
GeneralRe: onblur event is not working in java script Pin
BalasubramanianK24-Jun-08 20:16
BalasubramanianK24-Jun-08 20:16 
GeneralRe: onblur event is not working in java script Pin
Christian Graus24-Jun-08 20:19
protectorChristian Graus24-Jun-08 20:19 
QuestionHow to populate dropdownlist within the grid? Pin
moomoooomoo24-Jun-08 17:33
moomoooomoo24-Jun-08 17:33 
AnswerRe: How to populate dropdownlist within the grid? Pin
Parwej Ahamad24-Jun-08 17:51
professionalParwej Ahamad24-Jun-08 17:51 
AnswerRe: How to populate dropdownlist within the grid? Pin
Christian Graus24-Jun-08 19:18
protectorChristian Graus24-Jun-08 19:18 
Questionprint dialog pop up window, On click "Print" does not open the Print dialog box Pin
For_IT24-Jun-08 12:53
For_IT24-Jun-08 12:53 
Hi, I have a javascript which I register on click of link button, using ScriptManager. My link button is in update panel,
the link button click code is:

protected void lnkButton_Click(object sender, EventArgs e)    
        {        
            StringBuilder sb = new StringBuilder();        
            sb.AppendLine(" var popup = window.open( '','popup','toolbar=no,menubar=no,scrollbars=1,width=750,height=800');");        
            sb.AppendLine("popup.document.write('<html><head>');");        
            sb.AppendLine("popup.document.write('<title>Configurations for ACA</title>');");        
            sb.AppendLine("popup.document.write('</head><body>');");        
            sb.AppendLine("popup.document.write('<div id=\"lnk\" class=\"noprint\" style=\"text-align:right\">');");        
            sb.AppendLine("popup.document.write('<a href=\"#\" onclick=\"window.print();return false;\">Print</a>');");        
            sb.AppendLine("popup.document.write('<a href=\"#\" onclick=\"window.close();return false;\">Close</a>');");        
            sb.AppendLine("popup.document.write('</div>');");       
            sb.AppendLine("popup.document.write('<table border=1px style=width:500px; margin-left:100px; margin-top:50px; border-color:Maroon; >');");        
            sb.AppendLine("popup.document.write('<tr><td>');");        
            sb.AppendLine("popup.document.write('This is my string');");       
            sb.AppendLine("popup.document.write('</td><td>')");        
            sb.AppendLine("popup.document.write('This is my string');");        
            sb.AppendLine("popup.document.write('</td></tr></table>');");        
            sb.AppendLine("popup.document.write('</body></html>');");        
            ScriptManager.RegisterClientScriptBlock(this.GetType(), "OpenWindow", sb.ToString(), true);   
 }  


WHen I click on "print",window.print() do not pop uo printer selection dialog box. When I click on "close", it closes the window.

Can anyone please suggest what is wrong in the javascript ?

Many thanks.
AnswerRe: print dialog pop up window, On click "Print" does not open the Print dialog box Pin
Parwej Ahamad24-Jun-08 17:44
professionalParwej Ahamad24-Jun-08 17:44 
QuestionUpgrading ASP website to ASP.NET Pin
jzonthemtn24-Jun-08 11:07
jzonthemtn24-Jun-08 11:07 
QuestionLoggedIntTemplate not displaying Pin
Member 430789624-Jun-08 10:53
Member 430789624-Jun-08 10:53 
QuestionMaster Page Problem!!! [modified] Pin
Sr...Frank24-Jun-08 9:42
Sr...Frank24-Jun-08 9:42 
AnswerRe: Master Page Problem!!! Pin
Christian Graus24-Jun-08 11:52
protectorChristian Graus24-Jun-08 11:52 
QuestionSetting the primary key when using a DetailView to insert a new record Pin
Dan Neely24-Jun-08 9:30
Dan Neely24-Jun-08 9:30 
AnswerRe: Setting the primary key when using a DetailView to insert a new record Pin
Ashfield24-Jun-08 21:43
Ashfield24-Jun-08 21:43 
GeneralRe: Setting the primary key when using a DetailView to insert a new record Pin
Dan Neely25-Jun-08 2:42
Dan Neely25-Jun-08 2:42 
QuestionProblem with Mozila browser for FileUpload Control. ASP.Net 2008 Pin
koll24-Jun-08 8:52
koll24-Jun-08 8:52 
AnswerRe: Problem with Mozila browser for FileUpload Control. ASP.Net 2008 Pin
Christian Graus24-Jun-08 11:53
protectorChristian Graus24-Jun-08 11:53 
RantRe: Problem with Mozila browser for FileUpload Control. ASP.Net 2008 Pin
_Maxxx_24-Jun-08 16:37
professional_Maxxx_24-Jun-08 16:37 
GeneralRe: Problem with Mozila browser for FileUpload Control. ASP.Net 2008 Pin
Christian Graus24-Jun-08 16:46
protectorChristian Graus24-Jun-08 16:46 
GeneralRe: Problem with Mozila browser for FileUpload Control. ASP.Net 2008 Pin
_Maxxx_24-Jun-08 17:05
professional_Maxxx_24-Jun-08 17:05 
GeneralRe: Problem with Mozila browser for FileUpload Control. ASP.Net 2008 Pin
Christian Graus24-Jun-08 18:19
protectorChristian Graus24-Jun-08 18:19 
QuestionProblem with e-mails Pin
Deepak Nigam24-Jun-08 6:56
Deepak Nigam24-Jun-08 6:56 
AnswerRe: Problem with e-mails Pin
N a v a n e e t h24-Jun-08 7:35
N a v a n e e t h24-Jun-08 7:35 
AnswerRe: Problem with e-mails Pin
sumit703424-Jun-08 19:32
sumit703424-Jun-08 19:32 

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.