I currently have a small laptop and a desktop (+ gaming rig) that I use for development. I prefer to use the workstation at home because of the multiple large displays and performance and the laptop for it's mobility. When I need to work on Visual Studio 2008 web projects I RDP into my desktop over the internet. I would like to do thi...
I'm using FCKEditor in that when "Browse Server" button is clicked the following error is thrown.
The server didn't send back a proper
XML response. Please contact your
system administrator.
XML Request error: Not Found(404)
Requested URL:
/fckeditor/editor/filemanager/connectors/asp/connector.asp?Command=....
I...
I need to send a CSV file in HTTP response. How can I set the output response as CSV format?
This is not working:
Response.ContentType = "application/CSV";
...
I have a MS AJAX toolkit DLL which I want to add to the toolbox items as a tab.
How do I go about in doing this?
...
I have an existing ASP.NET website which I would like to painlessly add CMS functionality to.
The site is a estate agent's property website and is backed by a database etc. however some pages like 'About Us' etc. I would like the user to be able to edit using a simple CMS. I would also like the user to be be able to create new pages an...
I have two web applications developed using ASP.Net. I like to provide a link in Application A to access the aspx page in Application B. By this i can access this both application using the single URL.
Is it possible? if it is possible then how should i proceed?
Suresh
...
I have a class declared in the App_Code folder. The class contains a public shared method that returns a type Portfolio.
When I try to call this method to initialize an object of type Portfolio in one of the ASCX controls, i get a "Value of type Jaguar.Portfolio cannot be converted to Jaguar.Portfolio" message.
This is a "Website" proj...
I wrote the following function that works about 95% of the time, but I need it to work 100% (obviously):
Public Shared Function getPassedVars() As String
Const keyCount As Integer = 54 ' 54 seems to be the number of parameter keys passed by default (for this web_app).
' there are more if there i...
I'm creating an application that has both an ASP.net version, and a WPF version. I'm sharing the business logic and entities between them so the only thing I should have to maintain 2 of will be the UI.
For the most part this is pretty straight forward. there are some instances where the methodology has to change, just based on the nat...
I've been doing some research on how to globally handle errors in my ASP.NET application. I have settled on using the web.config file with the following code:
<customErrors mode="On" defaultRedirect="errorpage.aspx">
</customErrors>
Here is my errorpage.aspx.vb code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System....
I'm a C# developer looking to get into home automation as a hobby. I have done a little research, but was wondering if anyone knows of a good .NET library that supports Insteon hardware. I'd rather use Insteon than X10 due to reliability issues.
My ultimate objective at this point is to have a simple home automation server (maybe ligh...
This is an odd thing I've just run into.
I have a web application with a small DataTable stored in the ApplicationCache to reduce the amount of queries to a separate since the data is a lookup table that doesn't change often.
I access this DataTable twice within a given page. Once to bind the data to a drop down list in my Page_Load me...
So I'm trying to load some returned html from an .aspx page but a click event needs to fire before it doing some stuff that the AJAX request depends upon. More specifically, I'm doing this. When a user types in a text field this function is run...
function KeyPress() {
$("#" + HiddenButtonId).click();
$("#test").load("TempJumpToAJ...
I am implementing Javascript Validation on an ASP.Net page that is inside a Master Page. The control IDs are changing, so I can't use the original control IDs for validation. I looked on the Net and got the suggestion to build the script dynamically, and add it to the page using RegisterStartupScript. I don't like that solution because i...
Hello friends,
I'm creating a runtime dataset in page load. In this dataset I'm adding columns like that:
CrystalDecisions.CrystalReports.Engine.ReportDocument orpt =
new CrystalDecisions.CrystalReports.Engine.ReportDocument();
DataTable table = new DataTable("DataSet1");
table.Columns.Add("Fname", typeof(System.String));
table.C...
Hello There,
I've recently discovered Stack Overflow and I simply love it! I have got a problem at work and thought I should post that here first.
I am looking for a way to invoke the print/save/email functions from the Adobe Reader plugin in the browser. To better explain, please open the following image in your browser:
http://style...
Hi,
it seems that I just solved my problem why I couldn't use the ASP.NET Configuration Tool in VS2008. It seems this tool doesn't work when the aps.net solution is located in a folder containing special characters - spaces for example. Actually, I didn't discover this myself. I found it on various forums.
What puzzles me though is th...
I don't really FEEL css and it doesn't always work as i think it would. This is one of these situations:
i have a simple (2 rows, 2 columns) asp:table generated dynamically. in the right column it contains a combo box (cell (0, 1)) and a label (cell (1,1)). when i change the combobox's selection, the text in the label changes too. if it...
I am building an MVC application in which I am reading a list of files from the file system and I want to pass the relative URL to that file to the view, preferably prefixed with "~/" so that whatever view is selected cab render the URL appropriately.
To do this, I need to enumerate the files in the file system and convert their physi...
Should HtmlEncode() be abandoned and Replace() used instead of I want to parse links in posts/comments (with regular expressions)? HtmlEncode() replaces & with & which I assume can cause problems with links, should I just use Replace() to replace < with <?
For example if a user posts something like:
See this site http://www.somes...