Click here to Skip to main content
13,795,074 members
   

ASP.NET

 
QuestionImporting Excel into Gridview, doesn't import all rows Pin
Craist31-Jan-13 9:29
memberCraist31-Jan-13 9:29 
AnswerRe: Importing Excel into Gridview, doesn't import all rows Pin
Craist31-Jan-13 10:22
memberCraist31-Jan-13 10:22 
QuestionWeb Pages Authentication Pin
Jassim Rahma30-Jan-13 22:22
memberJassim Rahma30-Jan-13 22:22 
AnswerRe: Web Pages Authentication Pin
Rahul Rajat Singh30-Jan-13 23:14
professionalRahul Rajat Singh30-Jan-13 23:14 
QuestionAuthentication with database MVC4 Pin
AghaKhan30-Jan-13 21:44
memberAghaKhan30-Jan-13 21:44 
QuestionAutocomplete List hides behind Grid's horizontal scrollbar Pin
Ponka_developer30-Jan-13 13:01
memberPonka_developer30-Jan-13 13:01 
AnswerRe: Autocomplete List hides behind Grid's horizontal scrollbar Pin
jkirkerx30-Jan-13 13:50
professionaljkirkerx30-Jan-13 13:50 
QuestionHow to create and get the user input in alert message in asp.net webservice Pin
Rocky2327-Jan-13 23:22
memberRocky2327-Jan-13 23: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 Mewara28-Jan-13 0:28
mentorSandeep Mewara28-Jan-13 0: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 4:41
professionalAli Al Omairi(Abu AlHassan)28-Jan-13 4:41 
GeneralRe: How to create and get the user input in alert message in asp.net webservice Pin
Rocky2328-Jan-13 23:13
memberRocky2328-Jan-13 23: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 23:54
professionalAli Al Omairi(Abu AlHassan)28-Jan-13 23:54 
AnswerRe: How to create and get the user input in alert message in asp.net webservice Pin
jkirkerx30-Jan-13 13:52
professionaljkirkerx30-Jan-13 13:52 
QuestionChange CSS dynamically using javaScript Pin
sonusharma6527-Jan-13 22:36
membersonusharma6527-Jan-13 22:36 
AnswerRe: Change CSS dynamically using javaScript Pin
Sandeep Mewara28-Jan-13 0:24
mentorSandeep Mewara28-Jan-13 0:24 
Questioncapture the signature from signature pad in Web App. Pin
premaa_36@yahoo.co.in27-Jan-13 21:40
memberpremaa_36@yahoo.co.in27-Jan-13 21:40 
AnswerRe: capture the signature from signature pad in Web App. Pin
Sandeep Mewara27-Jan-13 22:08
mentorSandeep Mewara27-Jan-13 22:08 
GeneralRe: capture the signature from signature pad in Web App. Pin
Abhishek Pant27-Jan-13 22:53
professionalAbhishek Pant27-Jan-13 22:53 
Questionlogin object in asp.net Pin
Luqman Inam25-Jan-13 1:52
memberLuqman Inam25-Jan-13 1:52 
AnswerRe: login object in asp.net Pin
Sandeep Mewara25-Jan-13 6:03
mentorSandeep Mewara25-Jan-13 6:03 
AnswerRe: login object in asp.net Pin
Rahul Rajat Singh25-Jan-13 20:17
professionalRahul Rajat Singh25-Jan-13 20:17 
QuestionExperience with BootMetro? Pin
Marco Bertschi25-Jan-13 0:06
protectorMarco Bertschi25-Jan-13 0:06 
AnswerRe: Experience with BootMetro? Pin
Abhishek Pant25-Jan-13 11:28
professionalAbhishek Pant25-Jan-13 11:28 
Questionsignature capture from signature pad Pin
premaa_36@yahoo.co.in24-Jan-13 18:36
memberpremaa_36@yahoo.co.in24-Jan-13 18:36 
AnswerRe: signature capture from signature pad Pin
Sandeep Mewara25-Jan-13 6:03
mentorSandeep Mewara25-Jan-13 6: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 | Cookies | Terms of Service
Web04 | 2.8.181207.3 | Last Updated 5 Dec 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid