Click here to Skip to main content
15,881,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Importing Excel into Gridview, doesn't import all rows Pin
Craist31-Jan-13 9:22
Craist31-Jan-13 9:22 
QuestionWeb Pages Authentication Pin
Jassim Rahma30-Jan-13 21:22
Jassim Rahma30-Jan-13 21:22 
AnswerRe: Web Pages Authentication Pin
Rahul Rajat Singh30-Jan-13 22:14
professionalRahul Rajat Singh30-Jan-13 22:14 
QuestionAuthentication with database MVC4 Pin
AghaKhan30-Jan-13 20:44
AghaKhan30-Jan-13 20:44 
QuestionAutocomplete List hides behind Grid's horizontal scrollbar Pin
Ponka_developer30-Jan-13 12:01
Ponka_developer30-Jan-13 12:01 
AnswerRe: Autocomplete List hides behind Grid's horizontal scrollbar Pin
jkirkerx30-Jan-13 12:50
professionaljkirkerx30-Jan-13 12:50 
QuestionMessage Removed Pin
29-Jan-13 4:39
professionalN_tro_P29-Jan-13 4:39 
QuestionHow to create and get the user input in alert message in asp.net webservice Pin
Rocky2327-Jan-13 22:22
Rocky2327-Jan-13 22:22 
Hi,

In my application, i have a webservice, where i am doing some update operation.
I have a scenario here, like i want to display an message box to the user, based on the user input in messagebox(yes/no) i have to perform some operation in the webservice.

FYI : I tried MessageBox.Show() , it will work fine during debugging, if i deploy the same code on the server, MessageBox wont be displayed.

And i am calling this webservice from .aspx file using jquery.

sample code :

C#
[WebMethod]
public string Save(BusinessException exception, BusinessException oldexception)
{
     UserContext userContext = GetCurrentUserDataContext();
     IList<string> lineExtIds = exception.LineExtIds;
     IList<string> ListExtIds = exception.ListExtId;
     string username = null;

     //alert message should be here

     //if yes
       {
         Presenter.Save(lineExtIds,userContext.Login,userContext.Profile);
       }

     //if no
       {
            return;
       }
return "succeed";
}


Could any one tell me how to display an alert message box in this scenario, where the code should be written inside asp.net webservice file.?
AnswerRe: How to create and get the user input in alert message in asp.net webservice Pin
Sandeep Mewara27-Jan-13 23:28
mveSandeep Mewara27-Jan-13 23:28 
AnswerRe: How to create and get the user input in alert message in asp.net webservice Pin
Ali Al Omairi(Abu AlHassan)28-Jan-13 3:41
professionalAli Al Omairi(Abu AlHassan)28-Jan-13 3:41 
GeneralRe: How to create and get the user input in alert message in asp.net webservice Pin
Rocky2328-Jan-13 22:13
Rocky2328-Jan-13 22:13 
GeneralRe: How to create and get the user input in alert message in asp.net webservice Pin
Ali Al Omairi(Abu AlHassan)28-Jan-13 22:54
professionalAli Al Omairi(Abu AlHassan)28-Jan-13 22:54 
AnswerRe: How to create and get the user input in alert message in asp.net webservice Pin
jkirkerx30-Jan-13 12:52
professionaljkirkerx30-Jan-13 12:52 
QuestionChange CSS dynamically using javaScript Pin
sonusharma6527-Jan-13 21:36
sonusharma6527-Jan-13 21:36 
AnswerRe: Change CSS dynamically using javaScript Pin
Sandeep Mewara27-Jan-13 23:24
mveSandeep Mewara27-Jan-13 23:24 
Questioncapture the signature from signature pad in Web App. Pin
premaa36@gmail.com27-Jan-13 20:40
premaa36@gmail.com27-Jan-13 20:40 
AnswerRe: capture the signature from signature pad in Web App. Pin
Sandeep Mewara27-Jan-13 21:08
mveSandeep Mewara27-Jan-13 21:08 
GeneralRe: capture the signature from signature pad in Web App. Pin
Abhishek Pant27-Jan-13 21:53
professionalAbhishek Pant27-Jan-13 21:53 
Questionlogin object in asp.net Pin
Luqman Inam25-Jan-13 0:52
Luqman Inam25-Jan-13 0:52 
AnswerRe: login object in asp.net Pin
Sandeep Mewara25-Jan-13 5:03
mveSandeep Mewara25-Jan-13 5:03 
AnswerRe: login object in asp.net Pin
Rahul Rajat Singh25-Jan-13 19:17
professionalRahul Rajat Singh25-Jan-13 19:17 
QuestionExperience with BootMetro? Pin
Marco Bertschi24-Jan-13 23:06
protectorMarco Bertschi24-Jan-13 23:06 
AnswerRe: Experience with BootMetro? Pin
Abhishek Pant25-Jan-13 10:28
professionalAbhishek Pant25-Jan-13 10:28 
Questionsignature capture from signature pad Pin
premaa36@gmail.com24-Jan-13 17:36
premaa36@gmail.com24-Jan-13 17:36 
AnswerRe: signature capture from signature pad Pin
Sandeep Mewara25-Jan-13 5:03
mveSandeep Mewara25-Jan-13 5:03 

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.