Click here to Skip to main content
   

ASP.NET

 
GeneralRe: Display image using handler.ashx what wrong my code PinmemberMichael51191-Feb-13 8:03 
GeneralRe: Display image using handler.ashx what wrong my code PinmemberRichard Deeming1-Feb-13 9:12 
GeneralRe: Display image using handler.ashx what wrong my code PinmemberMichael51198-Feb-13 21:10 
GeneralRe: Display image using handler.ashx what wrong my code PinmemberRichard Deeming11-Feb-13 2:29 
QuestionImagesIn Gridview PinmemberMember 941611331-Jan-13 21:13 
QuestionImporting Excel into Gridview, doesn't import all rows PinmemberCraist31-Jan-13 9:29 
AnswerRe: Importing Excel into Gridview, doesn't import all rows PinmemberCraist31-Jan-13 10:22 
QuestionWeb Pages Authentication PinmemberJassim Rahma30-Jan-13 22:22 
AnswerRe: Web Pages Authentication PinmvpRahul Rajat Singh30-Jan-13 23:14 
QuestionAuthentication with database MVC4 PinmemberAghaKhan30-Jan-13 21:44 
QuestionAutocomplete List hides behind Grid's horizontal scrollbar PinmemberPonka_developer30-Jan-13 13:01 
AnswerRe: Autocomplete List hides behind Grid's horizontal scrollbar Pinmemberjkirkerx30-Jan-13 13:50 
QuestionMVC 4 & jquery [modified] PinmemberCollin Jasnoch29-Jan-13 5:39 
QuestionHow to create and get the user input in alert message in asp.net webservice PinmemberRocky2327-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 PinmvpSandeep Mewara28-Jan-13 0:28 
AnswerRe: How to create and get the user input in alert message in asp.net webservice PinmemberAli 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 PinmemberRocky2328-Jan-13 23:13 
GeneralRe: How to create and get the user input in alert message in asp.net webservice PinmemberAli 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 Pinmemberjkirkerx30-Jan-13 13:52 
QuestionChange CSS dynamically using javaScript [modified] Pinmembersonusharma6527-Jan-13 22:36 
AnswerRe: Change CSS dynamically using javaScript PinmvpSandeep Mewara28-Jan-13 0:24 
Questioncapture the signature from signature pad in Web App. Pinmemberpremaa_36@yahoo.co.in27-Jan-13 21:40 
AnswerRe: capture the signature from signature pad in Web App. PinmvpSandeep Mewara27-Jan-13 22:08 
GeneralRe: capture the signature from signature pad in Web App. PinmemberAbhishek Pant27-Jan-13 22:53 
Questionlogin object in asp.net PinmemberLuqman Inam25-Jan-13 1:52 
AnswerRe: login object in asp.net PinmvpSandeep Mewara25-Jan-13 6:03 
AnswerRe: login object in asp.net PinmvpRahul Rajat Singh25-Jan-13 20:17 
QuestionExperience with BootMetro? PinmemberMarco Alessandro Bertschi25-Jan-13 0:06 
AnswerRe: Experience with BootMetro? PinmemberAbhishek Pant25-Jan-13 11:28 
Questionsignature capture from signature pad Pinmemberpremaa_36@yahoo.co.in24-Jan-13 18:36 
AnswerRe: signature capture from signature pad PinmvpSandeep Mewara25-Jan-13 6:03 
AnswerRe: signature capture from signature pad PinmemberAbhishek Pant25-Jan-13 10:51 
QuestionObtaining the SelectedValue of a dropdownlist PinmemberCollin Jasnoch24-Jan-13 3:50 
QuestionHow to get the value of a dynamically created textBox in asp.net C#? Pinmembersusanna.floora24-Jan-13 3:46 
AnswerRe: How to get the value of a dynamically created textBox in asp.net C#? Pingroupchester_it2124-Jan-13 15:50 
GeneralRe: How to get the value of a dynamically created textBox in asp.net C#? Pinmembersusanna.floora24-Jan-13 18:54 
GeneralRe: How to get the value of a dynamically created textBox in asp.net C#? Pingroupchester_it2129-Jan-13 5:47 
GeneralRe: How to get the value of a dynamically created textBox in asp.net C#? Pinmembersusanna.floora3-Feb-13 21:30 
GeneralRe: How to get the value of a dynamically created textBox in asp.net C#? Pingroupchester_it216-Feb-13 7:22 
QuestionURL Rewriting PinmemberMaheshPandian24-Jan-13 1:37 
AnswerRe: URL Rewriting PinmemberShameel24-Jan-13 2:00 
GeneralRe: URL Rewriting PinmemberMaheshPandian24-Jan-13 3:28 
QuestionHow to create loocal SMTP server in windows Pinmembersani_alam24-Jan-13 0:59 
AnswerRe: How to create loocal SMTP server in windows PinmvpRichard MacCutchan24-Jan-13 2:54 
QuestionHow to extract data of a table. Pinmemberanubhaw.gupta23-Jan-13 21:06 
Questionhow to use ckeditor in asp.net? PinmemberDaxiii23-Jan-13 1:09 
AnswerRe: how to use ckeditor in asp.net? Pinmembermark merrens23-Jan-13 6:31 
AnswerRe: how to use ckeditor in asp.net? PinmvpSandeep Mewara23-Jan-13 9:20 
Questionhow resize this image before uploading PinmemberJassim Rahma22-Jan-13 9:44 
AnswerRe: how resize this image before uploading Pinmemberjkirkerx22-Jan-13 13:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.150331.1 | Last Updated 1 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid