message box problem
-
After i click a button to show message box ==> MessageBoc.Show("Error"); Bellow message displayed....... It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. How to solve this problem?
-
After i click a button to show message box ==> MessageBoc.Show("Error"); Bellow message displayed....... It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. How to solve this problem?
MessageBox.Show("Error"); this will not work in Asp.NET bcoz run time message box can be generated using only scripting languages. like Javascript. multimedia9
-
MessageBox.Show("Error"); this will not work in Asp.NET bcoz run time message box can be generated using only scripting languages. like Javascript. multimedia9
-
hi, i use asp.net with c# to write the code.....it need to prompt a messagebox ...so, how to write the code to display it? thanks......
Hi You can use it with Javascript In Javascript there is an 'alert()' Function . you can use it thanks
Raghvendra Kumar Roy
-
Hi You can use it with Javascript In Javascript there is an 'alert()' Function . you can use it thanks
Raghvendra Kumar Roy
-
Hi, Actually , i dun know about JAVA language.....Can mix with asp.net? U know how to solve it? Thanks, Eva
hi wongeva it's so simple to writing the Javascript in your asp.net application just follow the steps -- Open your html source view(behind the designer form) -- write down the code in after the -- function ClickMe() { Alert("The Messabox Appears"); return false; } -- and call this function on your "OnClick" event of button --Like <input type="submit" id="btnDemo" OnClick="return ClickMe();" runat="server"> Hope this will help U...Best luck -regards, koolprasad2003:) <div class="ForumSig">If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy</div></x-turndown>
-
hi wongeva it's so simple to writing the Javascript in your asp.net application just follow the steps -- Open your html source view(behind the designer form) -- write down the code in after the -- function ClickMe() { Alert("The Messabox Appears"); return false; } -- and call this function on your "OnClick" event of button --Like <input type="submit" id="btnDemo" OnClick="return ClickMe();" runat="server"> Hope this will help U...Best luck -regards, koolprasad2003:) <div class="ForumSig">If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy</div></x-turndown>
-
<%@ Page language="c#" Codebehind="WebForm2.aspx.cs" AutoEventWireup="false" Inherits="try2.WebForm2" %> WebForm2 function ClickMe() { Alert("The MessageBox Appears"); return false; }
-
<%@ Page language="c#" Codebehind="WebForm2.aspx.cs" AutoEventWireup="false" Inherits="try2.WebForm2" %> WebForm2 function ClickMe() { Alert("The MessageBox Appears"); return false; }
friend, Guffa is correct....change the "Alert" to "alert" this will definately help you... (By mistake i was write "Alert") regards, koolprasad2003:)
If the answer is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy