asp.net

Running an asynchronous operation triggered by an ASP.NET web page request

I have an asynchronous operation that for various reasons needs to be triggered using an HTTP call to an ASP.NET web page. When my page is requested, it should start this operation and immediately return an acknowledgment to the client. This method is also exposed via a WCF web service, and it works perfectly. On my first attempt, an ...

What options do I have available in C# asp.net to draw charts on websites?

see above... ...

ASP.NET: Location for storing files that should be shared between several web-applications

I have two web-applications. One is an outwards-facing application that will be accessible from the internet. The other is an application to manage the first, that will only be accessible from the intranet. They keep their data in files on the filesystem (I think a database would be overkill for these applications). The management-appl...

Asp.net Ajax Temporary Modal Pop-up

I m using Asp.Net 3.5 I want to display pop-up window center of the screen just 2 seconds. It will appear 2 sec. and automatically disappear. How can I do this with modal pop-up? I tried this but not hiding after 2 sec ? function showPanel() { $find('modal').show(); setTimeout("hidePanel()",2000); } ...

Creating a Parent Node for XML document in C#

Hi My Code: // Read in Xml-file XmlDocument doc = new XmlDocument(); doc.Load("C:/Web.config"); XmlNode d = doc.SelectSingleNode("/configuration"); XmlNode MYNODE = doc.CreateNode("element", "connectionStrings", ""); //newParent.(childNode); d.AppendChild(MYNODE); //Saving the document doc.Save("C:/Web.config"); MyOutput in my We...

Has ASP.NET MVC made Web Forms a Legacy Platform?

Last week at Mix '09, the final version of ASP.NET MVC 1.0 was released. Some of the stated benefits of this framework are: Clear separation of concerns Testability - support for Test-Driven Development Fine-grained control over HTML and JavaScript Intuitive URLs Now, Microsoft are being careful to tout this as being "...

Limit allowable child control types in an ASP.NET templates control

Hi, I'm trying to limit the possible types of controls that can be put in to the templated area of a templated control in ASP.NET. Does anyone know how to do that? /Asger ...

Getting ApplicationState in asp.net without HttpContext

I got a webapp that stores a config object in ApplicationState. This object contains the connection string to the database among other things. Sometimes i start a async thread to do a few longer running tasks, like sending emails and updating the database. However since this thread don't have a HttpContext i can't get at the config obj...

Frames in HTML ?

Actually...im having one left frame and one right frame.... In Left Frame , i'm having one treeview (which is static) In Right Frame , based on the click (that is based on the selected child i have to show the corresponding web page ) How to achieve this ??? ...

Windows Services in the The Cloud

Im looking at writing a application for a web 2.0 start up site which will essential monitor specific RSS feeds. Due to the expected up take of such a service I am expecting that taking advantage of cloud computing would be the way to do it, however with my lack of experience I do not know if it is possible to run a Windows service in t...

Any good Open Source or Cheap ASP.NET Catalog Applications

We're looking for a cheap-to-free "off the shelf" ASP.NET catalogue application, that will meet the following requirements: Support two kinds of listings: Suppliers of Services Suppliers of Products, and their Products Suppliers can be categorised by: Area of specialisation - including sub-categories Location Other data, e.g. where ...

default web font

i am adding an asp.net ImageButton that contains text adjacent to a LinkButton. i am creating the image for the ImageButton using an image editor and i need to know what font the LinkButton is using. i've tried firebug but i still can't figure it. ...

What is a correct way to initiate user control from code behind

Basically I want to create a user control in code behind, DataBind() it and then insert the control into current page I'm currently trying this: var comment = new IncidentHistoryGroupComment(); comment.LoadControl("~/Controls/IncidentHistoryGroupComment.ascx"); comment.LoadTemplate("~/Controls/IncidentHistoryGroupComment.ascx"); commen...

.NET AJAX Calls to ASMX or ASPX or ASHX?

What is the most efficient way of calling some business logic from javascript on the client side using AJAX? It looks like you can call a [WebMethod] on an aspx directly from javascript (in my case I'm using JQuery to help out) OR you can call a .asmx directly. Which call incurs less overhead? What is the best practice? Also, what does ...

Upload files to the server within a folder using WebService

Hi I am trying to upload files from windows application to the server within a folder using webservice..(Asp.Net,C#).. Can any body help me out Thanks in advance ...

Can we access one control Id registered in one aspx in to another ascx control,,

Can we access one control Id registered in one aspx in to another ascx control,, ...

ASP.NET Application Services - how to create a new user account?

I've been playing around with ASP.NET Application Services. I've implemented the Authentication Service, Profile Service and Role Service successfully, able to log in and get Profile information for the logged in user and Role information. Now I've noticed a major shortfall in the fact that I can't work out how to create a new user acco...

How to create a bookmarklet for creating a screen scraping?

How to create a bookmarklet like this one: http://www.vimeo.com/1626505 I want to create one the same, where to start? i want to know the work flow of how this one is working to build my own. Thanks ...

Response.WriteFile("mymenu.aspx") Bug?

I'm using Response.WriteFile("mymenu.aspx") to write a plain text file out to an area in a MasterPage. Unfortunately it's also printing out an unknown character represented by the square character. The contents of the menu file are as followings: <ul> <li><a href="Accounts">Accounts</a></li> </ul> The square character is what is c...

Custom elements in ASP.NET with custom child-elements

I know that it is possible to define custom tags in ASP.NET with User Controls. But as far as I know you can only add attributes to these controls. I would like to be able to embed more complex data, a bit lite this: <myControls:MyGraph id="myGraph1" runat="server"> <colors> <color>#abcdef</color> <color>#123456</color> ...