Click here to Skip to main content
12,951,823 members (92,570 online)
   

ASP.NET

 
AnswerRe: Importing Excel into Gridview, doesn't import all rows Pin
Craist31-Jan-13 9:22
memberCraist31-Jan-13 9:22 
QuestionWeb Pages Authentication Pin
Jassim Rahma30-Jan-13 21:22
memberJassim Rahma30-Jan-13 21:22 
AnswerRe: Web Pages Authentication Pin
Rahul Rajat Singh30-Jan-13 22:14
mvpRahul Rajat Singh30-Jan-13 22:14 
QuestionAuthentication with database MVC4 Pin
AghaKhan30-Jan-13 20:44
memberAghaKhan30-Jan-13 20:44 
QuestionAutocomplete List hides behind Grid's horizontal scrollbar Pin
Ponka_developer30-Jan-13 12:01
memberPonka_developer30-Jan-13 12:01 
AnswerRe: Autocomplete List hides behind Grid's horizontal scrollbar Pin
jkirkerx30-Jan-13 12:50
memberjkirkerx30-Jan-13 12:50 
QuestionMVC 4 & jquery Pin
Collin Jasnoch29-Jan-13 4:39
memberCollin Jasnoch29-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
memberRocky2327-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 :

[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
mvpSandeep 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
memberAli 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
memberRocky2328-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
memberAli 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
memberjkirkerx30-Jan-13 12:52 
QuestionChange CSS dynamically using javaScript Pin
sonusharma6527-Jan-13 21:36
membersonusharma6527-Jan-13 21:36 
AnswerRe: Change CSS dynamically using javaScript Pin
Sandeep Mewara27-Jan-13 23:24
mvpSandeep Mewara27-Jan-13 23:24 
Questioncapture the signature from signature pad in Web App. Pin
premaa_36@yahoo.co.in27-Jan-13 20:40
memberpremaa_36@yahoo.co.in27-Jan-13 20:40 
AnswerRe: capture the signature from signature pad in Web App. Pin
Sandeep Mewara27-Jan-13 21:08
mvpSandeep Mewara27-Jan-13 21:08 
GeneralRe: capture the signature from signature pad in Web App. Pin
Abhishek Pant27-Jan-13 21:53
memberAbhishek Pant27-Jan-13 21:53 
Questionlogin object in asp.net Pin
Luqman Inam25-Jan-13 0:52
memberLuqman Inam25-Jan-13 0:52 
AnswerRe: login object in asp.net Pin
Sandeep Mewara25-Jan-13 5:03
mvpSandeep Mewara25-Jan-13 5:03 
AnswerRe: login object in asp.net Pin
Rahul Rajat Singh25-Jan-13 19:17
mvpRahul Rajat Singh25-Jan-13 19:17 
QuestionExperience with BootMetro? Pin
Marco Alessandro Bertschi24-Jan-13 23:06
memberMarco Alessandro Bertschi24-Jan-13 23:06 
AnswerRe: Experience with BootMetro? Pin
Abhishek Pant25-Jan-13 10:28
memberAbhishek Pant25-Jan-13 10:28 
Questionsignature capture from signature pad Pin
premaa_36@yahoo.co.in24-Jan-13 17:36
memberpremaa_36@yahoo.co.in24-Jan-13 17:36 
AnswerRe: signature capture from signature pad Pin
Sandeep Mewara25-Jan-13 5:03
mvpSandeep 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.


Advertise | Privacy | Mobile
Web01 | 2.8.170525.1 | Last Updated 25 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid