You can add System.Windows.Forms namespace and start using MessageBox in asp.net. But the problem is when you host it in server. It doesn't work
SUDHAKAR PALLAM
Posts
-
About using MsgBox() in web -
Save webpage as .mht fileHi, I wanted to save a webpage as mht file in the server. I tried the below code and worked fine from local machine, but thrown an error while running from server(IIS) The system cannot locate the resource specified. is the error message. Below mentioned is the code. I have already reference the Interop.CDO.dll CDO.Message msg = new CDO.MessageClass(); CDO.Configuration cfg = new CDO.ConfigurationClass(); msg.Configuration = cfg; msg.CreateMHTMLBody("http://www.cricwaves.com", CDO.CdoMHTMLFlags.cdoSuppressAll, "", ""); msg.GetStream().SaveToFile(@"D:\Learning\CricketScore\score.mht", ADODB.SaveOptionsEnum.adSaveCreateOverWrite);
-
Avoid user saving pdf fileHi, In my webapplication i gave links to open certain pdf files. But i don't want users to save them to their local pc. How can we do that?
-
ASP.NET mobile developmentHi, I have gone through them. I didn't find the resources i am looking for.
-
ASP.NET mobile developmentHi, Can you please help me with mobile development with Visual studio 2010. Here i am talking about developing web applications and they fit to mobile screen. I could see a template for mobile in VS 2003 and VS 2005. But not in either VS 2008 or VS 2010. Now i am working with VS 2010. I wanted to develop web applications for mobile devices. So how would i get mobile template and mobile controls in VS 2010
-
Print problemThanks for your reply. But, i am not using reporting services. I am getting data from SAP and from there i am just placing them in labels inside a table format in my webpage. And, when i take print of this webpage, i need header text in all printed pages
-
Print problemWe have a report in html Table form. When he gives print, say the table would take 5 papers to print, he wants the table headers in all pages. How to do this.
-
Designing a master pageHi, I would like to design a master page in asp.net 2.0. It should have a header,footer,leftpane for treeview and right pane for content placeholder. I have done everything but my problem is it should auto fit to any screen resolution.I am able to do that for width, but not for height.I dont want to get even a vertical scroll bar. In simple i want to develop a masterpage similar to msdn library website http://msdn.microsoft.com/hi-in/library/w0x726c2(en-us).aspx\[^\]
-
Design a master pageHi, I would like to design a master page in asp.net 2.0. It should have a header,footer,leftpane for treeview and right pane for content placeholder. I have done everything but my problem is it should auto fit to any screen resolution.I am able to do that for width, but not for height.I dont want to get even a vertical scroll bar. In simple i want to develop a masterpage similar to msdn library website http://msdn.microsoft.com/hi-in/library/w0x726c2(en-us).aspx[^]
-
Using MapsHi, My requirement is to develop a web application where sales(plan vs actual) is shown in a map. I dont have any idea about doing this. Please suggest me how can we do this? I am using VS 2005. Do we need any third party tools to do this? A map will be there, on which all my offices at different locations will be shown and when a particular office is clicked, sales details should be shown.
-
Multiple monitorYes, it it just a monitor. Not system
-
Multiple monitorHi, I don't know where to post this question. I am just doing it here atleast to get some idea. I have an asp.net web application running in my intranet server. Say, there are different pages for different departments. Now, the problem is : We have 10 different pages need to be displayed in 10 different monitors which are connected to my server. How to achieve this ? Can you please throw some light on it?
-
Working with Crystal ReportsHi, I am using VS 2005. I developed an application recently and my management wants to take a print out of a particular dataentry form. I wanted to do it using crystal reports. How can it be done? Thank you
-
Display News in my Intranet website [modified]Hi, I wanted to display News in my Intranet website. I dont have any idea about that. Please guide me accordingly. I wanted to use web services in my site. But, how do i know that what are the web methods available over internet? I know how to create a webservice and use it. I am asking about the webservices which are in internet, and how to use them. Thank you.
modified on Tuesday, December 2, 2008 3:20 AM
-
Master Page Sharing In ApplicationsIf your Master Page is under root directory, then Create a folder images under root directory and now refer this path for your image. You should not face any problem.
-
Master Page Sharing In ApplicationsKeep the Images folder also under the same folder where your master page is available.
-
Deployment of ASP.NET ajax enabled website to production serverI am trying to deploy in IIS 6.0 Yes, .Net framework as well as Ajax extensions are also installed. There are few other projects which are developed in ASP.NET 2.0 and they are running fine on Server. Here i think my problem is with AJAX Enabled website. This is my first AJAX enabled site.
-
Deployment of ASP.NET ajax enabled website to production serverHi, I am using VS 2005 in VISTA Business PC. I developed a AJAX Enabled Website and it is working fine in my PC. But when i deployed it to my server, and when i try to access it, I am getting the following error message box. "Sys.WebForms.PageRequestManagerServerErrorException. The status code that was returned from server was: 502" Can someone help me please. Thank you.
-
Screen Resolution problemHi, How to make my asp.net 2.0 web application screen resolution independent? I used 1024 * 768 resolution in my development PC and when i deploy, all vista users are facing problem with the screen resolution. Whole alignment of my project is disturbed. Please help me...
-
Deploying a asp.net 2.0 web applicationCan you be more clear.? I mean how to attach the created database scripts to web setup project.?