Click here to Skip to main content
15,916,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: prompt message box on web page using C# Pin
quiteSmart6-Dec-06 22:27
quiteSmart6-Dec-06 22:27 
GeneralRe: prompt message box on web page using C# Pin
mohd imran abdul aziz6-Dec-06 22:50
mohd imran abdul aziz6-Dec-06 22:50 
GeneralRe: prompt message box on web page using C# Pin
quiteSmart6-Dec-06 22:59
quiteSmart6-Dec-06 22:59 
GeneralRe: prompt message box on web page using C# Pin
mohd imran abdul aziz6-Dec-06 23:45
mohd imran abdul aziz6-Dec-06 23:45 
GeneralRe: prompt message box on web page using C# Pin
quiteSmart7-Dec-06 1:40
quiteSmart7-Dec-06 1:40 
GeneralRe: prompt message box on web page using C# Pin
mohd imran abdul aziz7-Dec-06 2:28
mohd imran abdul aziz7-Dec-06 2:28 
AnswerRe: prompt message box on web page using C# Pin
Bhupi Bhai6-Dec-06 22:50
Bhupi Bhai6-Dec-06 22:50 
GeneralRe: prompt message box on web page using C# Pin
jdkulkarni6-Dec-06 22:54
jdkulkarni6-Dec-06 22:54 
Exactly right. You can not pop up MessageBox.Show("") in ASP.NET. You will get this error. "Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.".
You should only use Alert or Confirm. Especially in your case Confirm should work fine.

Jayant D. Kulkarni
Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET

GeneralRe: prompt message box on web page using C# Pin
quiteSmart6-Dec-06 23:14
quiteSmart6-Dec-06 23:14 
GeneralRe: prompt message box on web page using C# Pin
jdkulkarni6-Dec-06 23:21
jdkulkarni6-Dec-06 23:21 
GeneralRe: prompt message box on web page using C# Pin
Bhupi Bhai6-Dec-06 23:32
Bhupi Bhai6-Dec-06 23:32 
GeneralRe: prompt message box on web page using C# Pin
Tamimi - Code6-Dec-06 23:35
Tamimi - Code6-Dec-06 23:35 
GeneralRe: prompt message box on web page using C# Pin
quiteSmart6-Dec-06 23:43
quiteSmart6-Dec-06 23:43 
GeneralRe: prompt message box on web page using C# Pin
Tamimi - Code6-Dec-06 23:49
Tamimi - Code6-Dec-06 23:49 
GeneralRe: prompt message box on web page using C# Pin
mohd imran abdul aziz7-Dec-06 0:01
mohd imran abdul aziz7-Dec-06 0:01 
GeneralRe: prompt message box on web page using C# Pin
Bhupi Bhai7-Dec-06 0:08
Bhupi Bhai7-Dec-06 0:08 
GeneralRe: prompt message box on web page using C# Pin
Tamimi - Code7-Dec-06 0:46
Tamimi - Code7-Dec-06 0:46 
GeneralRe: prompt message box on web page using C# Pin
quiteSmart7-Dec-06 0:57
quiteSmart7-Dec-06 0:57 
GeneralRe: prompt message box on web page using C# Pin
quiteSmart7-Dec-06 1:00
quiteSmart7-Dec-06 1:00 
GeneralRe: prompt message box on web page using C# Pin
Tamimi - Code7-Dec-06 1:12
Tamimi - Code7-Dec-06 1:12 
GeneralRe: prompt message box on web page using C# Pin
quiteSmart7-Dec-06 1:16
quiteSmart7-Dec-06 1:16 
GeneralRe: prompt message box on web page using C# Pin
Tamimi - Code7-Dec-06 1:24
Tamimi - Code7-Dec-06 1:24 
GeneralRe: prompt message box on web page using C# Pin
quiteSmart7-Dec-06 1:33
quiteSmart7-Dec-06 1:33 
GeneralRe: prompt message box on web page using C# Pin
Tamimi - Code7-Dec-06 1:44
Tamimi - Code7-Dec-06 1:44 
GeneralRe: prompt message box on web page using C# Pin
quiteSmart7-Dec-06 1:48
quiteSmart7-Dec-06 1:48 

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.