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 ...
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...
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);
}
...
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...
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 "...
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
...
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...
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 ???
...
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...
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 ...
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.
...
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...
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 ...
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,,
...
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 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
...
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...
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>
...