asp.net

Easiest way to Send/Receive/Respond to IM in a website

I have a website written in C# and when a user does something I want to be able to send an IM message to an admin and allow the admin to respond to approve/deny the request. I would like to use something like MSN Messenger or AIM so that the IM messages can also be sent to phones as sms. ...

ASP.NET error after uploading project to server

after uploading my project to server i am getting following error please let me know what is the following error CS0433: The type 'Course' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\672b2bdf\9fb2ad98\assembly\dl3\afaf3b67\f1871969_3e5bcb01\App_Code.DLL' and 'c:\WINDOWS\Microsoft.NET\Fra...

. The An object with the same key already exists in the ObjectStateManagerObjectStateManager cannot track multiple objects with the same key.

I am trying to simply update the entity object and I get this error.. All the googling on the error I did takes me to complex explanations... can anyone put it simply? I am working of of this simple tutorial http://aspalliance.com/1919_ASPNET_40_and_the_Entity_Framework_4__Part_2_Perform_CRUD_Operations_Using_the_Entity_Framework_4.5 ...

How to get TinyMVC .NET class Library to work on ASP.NET MVC 2?

Hello SO, I am trying to implement the TinyMCE Spellcheck plugin that uses GoogleSpell. The thing is I am trying to install it in an MVC environment. I started by referencing the .NET class Library DLL (MoxieCode.TinyMCE) in my project. Then, I added this code to my web.config: <system.webServer> <handlers> <add name="TinyM...

Asp.Net Deserialize Dictionary<string, object> to an object

What would be the best way to deserialize this Dictionary<string, object>{ {"fName", "John"}, {"lName", "Doe"}, {"email", "[email protected]"} } to this class Member{ string fName; string lName; string email; } ...

Are static objects unique per user?

I have a .net application (c#) that goes something like this public partial class _Default : System.Web.UI.Page { #region initial variables setup private static exam theExam; #endregion protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { string userid = Request.Querystri...

Bing Maps Development - Map with Markers

I really like how this site looks: http://www.microsoft.com/web/WebsiteSpark/Catalog.aspx - specifically the GIS part - the map, the green markers, and how the markers on the map our bound to the list below. Would anyone know some resources on how I can get started on developing something like this? This site is appealing and really li...

Change <body> ID with Javascript from within ContentPage

I'm looking to do a short term hack on a site. The site is a ASP.NET site with a master page. The body tag is in the master page. I'd like to specify which ID should be in the body tag from within various content pages. What I don't know is if you can have this type of access to the body tag when your JS is within the body tag. For...

ASP.NET: How to support two database types in one application? (Access, MS SQL Server 2008 Express)

The ASP.NET web application I am developing needs to support two different types of databases, namely Access and MS SQL Server 2008 Express. I already have connection strings for each database type stored in web.config, and I have another web.config value that specifies which one to use. So I can get the proper connection string with no...

Does anyone have an insight into ASP.NET WebFormsMVP?

Recently I ran into this open source project ASP.NET WebformsMVP. It seems like an alternative to asp.net mvc and also a quick way to introduce testability into an existing webforms applications. (without having to go through the pain of rewriting a bunch of code to make it work for asp.net mvc) Of couse community support and open-sour...

Converting vb.net into a web application

I have written a desktop application in vb.net. Now I need to convert it into a web application in asp.net. Can you please suggest how I might proceed? ...

404.13 response ignored by the browser

I'm using <requestLimits maxAllowedContentLength="[my limit]"/> to limit the size of file uploads over http. This works fine, and returns a 404.13 (Content length too large) when the limit is exceeded. I'm logging it in my global.asax as follows: private void Application_EndRequest(object sender, EventArgs e) { if (Respo...

ASP.NET MVC - How to Create a RESTful Controller Scheme?

Hi Guys, If this is a duplicate, please let me know - because i had a quick look and couldn't find anything that really answers my question. I'm experimenting with ASP.NET MVC 2. Now coming from a Web Forms background, i only really dealt with HTTP GET and HTTP POST. I'm trying to see how i could apply GET/PUT/POST/DELETE to the respe...

submit captcha and get text inside table using ASP.NET

Hello, I need to submit (send) a captcha entered manually to a site and then get text result inside an html table, how I do that using ASP.NET thanks ...

How can I use AutoPostBack inside UpdatePanel

I have two DropDownLists inside an UpdatePanel. The values shown inside the second are dependent of the selectedValue on the first, so, I need AutoPostBack=true. But, whenever the selected value in the first DropDownList is changed causes the UpdatePanel reload. How can this be solved? PS.: The UpdatePanel's UpdateMode property is se...

How to disable asp.net ImageButton that is wired to server event (so it can't get re-posted)

I have an asp.net ImageButton -- with an OnClick event that another developer originally coded. It looks like this: <asp:ImageButton ID="ImageButtonSaveAddress" runat="server" ImageUrl="btnSave.gif" OnClick="ImageButtonSaveAddress_Click" /> In the code behind, the event code looks like this ... protected void ImageButtonSaveAddr...

SQL Server ASP Schema option

In my Godaddy hosting account I have an option to set up ASP Schema with my SQL Server 2005 database. It describes in very general terms what the option is: "ASP.NET configuration schema contains elements that control how ASP.NET Web applications behave." Can someone explain to me(or provide a link) in greater detail as to what that doe...

how to code asp.net (.aspx) to show ballon on system tray

I created a page named discussion_monitoring.aspx for fraud monitoring, impolite wording monitor. When detected, I just want to show balloon on system tray. but I haven't found that code to show balloon on taskbar system tray. Most example code I found is on Windows forms, not webform. Environment: ASP.Net 2.0, Windows XP. ...

Best Free Online Source Control

Hi All, There are many free online Source Control available but I would like to know your experience on it, if any, and which is the best one? Me and my friend are starting a small test project and would like some really good online source control. FYI - We will be developing ASP.Net app Thanks, Nimesh ...

Creating a software to post and manage topics in a lot of forums

Hello guys, I have had an idea. I want to create a software (desktop or web application) that have some bellow features: At beginning, I will add some forum (that I want to post topic to there) to software (to make it easier, at first the kind of forum is just vbulletin maybe) Posting topic to forum automatically (Type topic content a...