Click here to Skip to main content
15,915,501 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex20-Sep-07 1:02
Malayil alex20-Sep-07 1:02 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Imran Khan Pathan20-Sep-07 1:06
Imran Khan Pathan20-Sep-07 1:06 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex20-Sep-07 1:15
Malayil alex20-Sep-07 1:15 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Imran Khan Pathan20-Sep-07 1:25
Imran Khan Pathan20-Sep-07 1:25 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex20-Sep-07 1:56
Malayil alex20-Sep-07 1:56 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Sandeep Akhare20-Sep-07 1:26
Sandeep Akhare20-Sep-07 1:26 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex20-Sep-07 1:45
Malayil alex20-Sep-07 1:45 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malcolm Smart20-Sep-07 1:33
Malcolm Smart20-Sep-07 1:33 
If you are using updatepanels I don't think the script will get registered with the script manager on postback as the page is already rendered.

What you want to try is register the script as a function function ShowMyError( message) {...} on PageLoad, and then, in your Exception handler, call the function

<br />
ClientScript.RegisterStartupScript(this.GetType(), "AnyKey", "ShowMyError('dont do this ?');",true); <br />


"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF


"I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.

GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex20-Sep-07 1:54
Malayil alex20-Sep-07 1:54 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malcolm Smart20-Sep-07 2:20
Malcolm Smart20-Sep-07 2:20 
Questionurgent copy image from hard Drive on local host Pin
mavii19-Sep-07 22:54
mavii19-Sep-07 22:54 
AnswerRe: urgent copy image from hard Drive on local host Pin
Sandeep Akhare19-Sep-07 23:00
Sandeep Akhare19-Sep-07 23:00 
GeneralRe: urgent copy image from hard Drive on local host Pin
mavii19-Sep-07 23:06
mavii19-Sep-07 23:06 
GeneralRe: urgent copy image from hard Drive on local host Pin
Sandeep Akhare19-Sep-07 23:12
Sandeep Akhare19-Sep-07 23:12 
GeneralRe: urgent copy image from hard Drive on local host Pin
N a v a n e e t h19-Sep-07 23:37
N a v a n e e t h19-Sep-07 23:37 
GeneralRe: urgent copy image from hard Drive on local host Pin
mavii19-Sep-07 23:48
mavii19-Sep-07 23:48 
GeneralRe: urgent copy image from hard Drive on local host Pin
N a v a n e e t h19-Sep-07 23:52
N a v a n e e t h19-Sep-07 23:52 
GeneralRe: urgent copy image from hard Drive on local host Pin
mavii20-Sep-07 0:15
mavii20-Sep-07 0:15 
GeneralRe: urgent copy image from hard Drive on local host Pin
mavii20-Sep-07 0:36
mavii20-Sep-07 0:36 
AnswerRe: urgent copy image from hard Drive on local host Pin
APDevelop19-Sep-07 23:14
APDevelop19-Sep-07 23:14 
GeneralRe: urgent copy image from hard Drive on local host Pin
mavii19-Sep-07 23:18
mavii19-Sep-07 23:18 
QuestionHow to retrieve word document from database [modified] Pin
honeysip19-Sep-07 22:40
honeysip19-Sep-07 22:40 
AnswerRe: How to retrieve word document from database Pin
N a v a n e e t h19-Sep-07 23:48
N a v a n e e t h19-Sep-07 23:48 
GeneralRe: How to retrieve word document from database Pin
honeysip20-Sep-07 0:58
honeysip20-Sep-07 0:58 
GeneralRe: How to retrieve word document from database Pin
N a v a n e e t h20-Sep-07 3:06
N a v a n e e t h20-Sep-07 3: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.