Click here to Skip to main content
16,016,736 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow can i get a message box in asp.net using c# Pin
Radha2723-Jan-08 18:34
Radha2723-Jan-08 18:34 
AnswerRe: how can i get a message box in asp.net using c# Pin
Vasudevan Deepak Kumar23-Jan-08 18:40
Vasudevan Deepak Kumar23-Jan-08 18:40 
AnswerRe: how can i get a message box in asp.net using c# Pin
N a v a n e e t h23-Jan-08 19:08
N a v a n e e t h23-Jan-08 19:08 
AnswerRe: how can i get a message box in asp.net using c# Pin
Abhijit Jana23-Jan-08 19:12
professionalAbhijit Jana23-Jan-08 19:12 
GeneralRe: how can i get a message box in asp.net using c# Pin
Radha2723-Jan-08 20:25
Radha2723-Jan-08 20:25 
GeneralRe: how can i get a message box in asp.net using c# Pin
N a v a n e e t h23-Jan-08 21:40
N a v a n e e t h23-Jan-08 21:40 
GeneralRe: how can i get a message box in asp.net using c# Pin
Radha2723-Jan-08 22:31
Radha2723-Jan-08 22:31 
GeneralRe: how can i get a message box in asp.net using c# Pin
N a v a n e e t h23-Jan-08 22:37
N a v a n e e t h23-Jan-08 22:37 
Radha27 wrote:
if (id > 0){ ClientScript.RegisterClientScriptBlock( typeof(Page), "Script", "alert('Selected Date have already Data.. Are you sure you want to continue for the same date? ');", true); }


The above code won't work because, JS will emitted to the response and displayed to the page after all processing done by ASP.NET. It won't wait until you press the Ok button in the alert. So this method is no use. Instead of this, you can redirect to another page where a message will be displayed like "Selected date have already data. Are you sure to continue". Put two buttons, "Continue" and "Cancel". Inside "Continue" button write your logic for continuing the operation.

Hope it clear now.


All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

My Website | Ask smart questions


GeneralRe: how can i get a message box in asp.net using c# Pin
Radha2723-Jan-08 22:42
Radha2723-Jan-08 22:42 
GeneralRe: how can i get a message box in asp.net using c# Pin
N a v a n e e t h23-Jan-08 22:45
N a v a n e e t h23-Jan-08 22:45 
GeneralRe: how can i get a message box in asp.net using c# Pin
Radha2723-Jan-08 22:48
Radha2723-Jan-08 22:48 
QuestionRe: how can i get a message box in asp.net using c# Pin
Sampadalam9-Oct-09 1:04
Sampadalam9-Oct-09 1:04 
Questionpopout calendar closes after i click on next/prev month Pin
cylene23-Jan-08 17:17
cylene23-Jan-08 17:17 
AnswerRe: popout calendar closes after i click on next/prev month Pin
Lostwords818-Dec-09 6:04
Lostwords818-Dec-09 6:04 
GeneralWith attachment mail send Pin
Member 387988123-Jan-08 17:08
Member 387988123-Jan-08 17:08 
QuestionRe: With attachment mail send Pin
Vasudevan Deepak Kumar23-Jan-08 18:41
Vasudevan Deepak Kumar23-Jan-08 18:41 
GeneralRe: With attachment mail send Pin
Member 387988123-Jan-08 23:00
Member 387988123-Jan-08 23:00 
GeneralRe: With attachment mail send Pin
N a v a n e e t h23-Jan-08 23:09
N a v a n e e t h23-Jan-08 23:09 
QuestionQuestion on Forms Authentication Pin
Venkatesh Mookkan23-Jan-08 17:01
Venkatesh Mookkan23-Jan-08 17:01 
GeneralRe: Question on Forms Authentication Pin
N a v a n e e t h23-Jan-08 21:48
N a v a n e e t h23-Jan-08 21:48 
GeneralProblem Generate Excel Reports if the Data is too much Pin
HatakeKaKaShi23-Jan-08 15:43
HatakeKaKaShi23-Jan-08 15:43 
QuestionMoving an image control in ASP.NET Pin
Yatish Kasa23-Jan-08 7:50
Yatish Kasa23-Jan-08 7:50 
GeneralRe: Moving an image control in ASP.NET Pin
ToddHileHoffer23-Jan-08 9:08
ToddHileHoffer23-Jan-08 9:08 
QuestionDefault Button of a page -- how? Pin
dipak.dipak23-Jan-08 4:44
dipak.dipak23-Jan-08 4:44 
GeneralRe: Default Button of a page -- how? Pin
ToddHileHoffer23-Jan-08 4:54
ToddHileHoffer23-Jan-08 4:54 

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.