I was looking for a chat program, and I found it here in Code Project,Build a Web based Chat using ASP.NET Ajax (http://www.codeproject.com/KB/ajax/aspnetchat.aspx)The code is working perfectly,except 2 issues,can anybody tell me how can I overcome these issues?1-how can I get for example the last 2 hours chat from the database, when a new user enters to the chat room? I tried the getlastmessage stored procedure, but because of the refresh, it keeps showing the messages over and over. any solutions?2-In firefox after I hit the enter on keyboard I see two messages instead of one. sometimes it happens in IE too.
I need a complete code reference for Detailsview and Formview using the code only:OnRowCreatedOnRowEditingOnRowUpdatingOnRowDeletingOnRowCancelingEditOnPageIndexChanged OnPageIndexChanging OnSorting OnRowDataBound
I had a general question about extracting code from a visual studio web test. I used the "generate code" option of a web test and got the following:
[code]....
What I wanted to do is basically put this test into a separate service to run throughout the day for purposes of health checking. I basically want to make sure that users are able to log in throughout the day. What process should I use to get the test into something like a console app? I was running into issues with debugging the webtest code.
How code a time delay before the next method is called? I have the following but I don't think it's waiting 10 seconds before calling CallMethod(). Thread.Sleep(10000); CallMethod();
Can a required field validator be called from the code behind page?We have several check boxes and some of them require the user to enter a date, but not all of them.(This is not a checkbox list, but individual checkboxes).Any 1 of 6 different checkboxes selected makes a txtBox visible for users to enter a date.If they don't select one of these checkBoxes which require a date - it doesn't matter, the form will still be valid.I don't think validation groups can work here so looking towards doing through .vbHere's the existing code:
l Im downloading Pdfs using WebClient I used below code
try { WebClient wc = new WebClient(); Uri uriadd = new Uri(@"ftp://xxx.yyy..../httpdocs/FH/Foldername/" + clientorder1[i].Cloi_id + ".pdf"); wc.Credentials = new NetworkCredential("xxxx", "zzzz"); }
Its working fineĀ but some times Gives Error like Object synchronization method was called from an unsynchronized block of code.. Why this Error coming ....
I have a VS2010 project that I want to move back and forth between an x86 and an x64 machine. On the x86 machine, several assemblies are located in Program Files, and the path of the assemblies are shown as c:Program Files...... When I move this project to the x64 machine, the same assemblies are located in C:Program Files (x86).... Is there a way that I can confugure VS2010 so I don't have to manually change the path when I move the project from one machine to another?
I have a Access program in which there are a lot of queryes, forms and reports.Is it possible by clicking a button in a ASP.NET PAGE to let user run Access program, such as enter parameter to open Access report?After running Access report, close Access and back to ASP.NET page.
how to Design web program (asp.net) ? I'm used to WinForm Design when i drag any control to the screen - He did not refuse me but in asp.net (web Design) the control Do not want to settle where i want. i came from the WinForm world and now i do my first steps in the WebForm.
Is there any way I can call a SAS program from ASP.NET? I am developing a web-based randomization system for block randomization. I did some googling and I did not get any article on block randomization using ASP.NET But, I got an article on SAS. [URL] So, I am trying to use SAS and ASP.NET. How can I call a program written in SAS from ASP.NET?
I'm attempting to deploy my new MVC 2 app to a windows server 2003 box (IIS6). The app is on it's own web site, scripts and executable rights given, asp.net version set at 4.0.30319. ASP.NET MVC was installed via the web platform installer and server was since rebooted.
I've used this technique in the global.asax to put ".aspx" in the URLs:
[Code]....
No matter what i do I still get an error on Browse: "This Program cannot display the webpage." Times out in Firefox. This is constant if i do wildcard or .mvc mapping, suggesting it is an IIS problem.
Nothing in the event viewer that displays any info or any error.
Is there anything extra special that needs to be done to get IIS to recognize MVC?
I am volunteering to build a web application for my town's library. When I finish it I want the librarian to be able to run it from the desktop, but I know I have to enter MS web developer and then press run in order to start the server, and just then the web app can run.
How do I run the web app. without entering the program?
I am learning C# in Visual Studio (VS), and in VS i have successfully made different 'projects' under the 'solution' for each fo the samples in my C# book as can be seen here:
[URL]
the thing is when i press the green play button to run the debugger/program, it always executes "ConsoleApplication1" (look at the above image) when i want to try out the new application i wrote (named ConsoleApplication3)
so I'm in a strange development situation and am a noob at the bits I'm tasked with - just to make life fun and interesting.
My fellow developer has written programs in VB.Net and placed them on the server. He wants a web front end that users can click a link and have that run the program on the server.
Sounds simple, but I've spent days searching the internet and found only two solutions one of which looks sketchy on security and the other is so complex I'm not sure how to make it fit my local variables.
I'm writing ASP.Net on an MVC Framework using C#.
So, in terms for the simple minded to understand, is there a way to do this? Are there links which I used the wrong keywords and completely missed?
i'm trying to send faxes with a asp.NET (C#) program , Can you please suggest any reliable third party control . Need to generate PDF and send it via Fax in my web application.
(1) Customer would like data resides with their machines/server without expose the data to internet (2) I want ASP code resides in remote PC in my office
So the idea is they access (via internet) my office PC/server with ASP codes on it and use the software, and the client PCs use data on their own server and these 2 combined to produce the result. I know this seems impossible but any idea to fine tune and still achieve (1) +(2) practicably?
I will receive an XML file from an application which I am using. The result will be in alphabetical order. I want to read the titles andput it in a different order which my client is interested in.The result should be in EXCEL format. Can anyone help me with a sample program,