asp

ASP.NET MVC 1.0 + Mono 2.4

Trying to get MVC running on Mono 2.4 (which is possible, according to some threads here) without much luck. I can't get past this: Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Compiler Error Message: : ** (/usr/local/lib/mono/2.0/g...

request.serverVariables() "URL" vs "Script_Name"

I am maintaining a classic asp application and while going over the code I came across two similar lines of code: request.serverVariables("URL") ''# Output: "/path/to/file.asp" request.serverVariables("SCRIPT_NAME") ''# Output: "/path/to/file.asp" I don't get it... what is the difference? both of them ignore the URL rewriting that I ...

What is the name for that thing that lets part of the URL be an argument?

For example: http://stackoverflow.com/questions/698627/ms-access-properties The number is part of the URL but is an argument to the web app as opposed to other options like: http://www.google.com/firefox?client=firefox-a&rls=org.mozilla:en-US:official where all the args come after the '?'. I have used the second form before and...

DataList - Can you stop the last line break so a control will flow next to the end.

I have a DataList, which is set to Horizontal Flow which renders a set of checkboxes. I also have a drop down list, which I would like to be rendered at the end of the datalist, on the same line as the last time in the datalist. Is it possible to get rid of the last line break at the end of the datalist so the dropdown does not render ...

Open Outlok with values filled in using ASP

Hi friends i do one project in asp , in that i need to open a outlook express (with all fields are filled like from , to , sub , Body etc..)to send mail(i am aware of mailto:). Especially in Body i need to send a normal HTML file(Not as attachment) , Please help me to solve this issue. Thanks in advance ...

Including an asp vb page in an aspx c# page

Can I have an aspx page written with a C# code behind file. And include an asp page with code written in vb? ...

Error "Microsoft SQL Native Client error '80040e37'"

After moving my database and web site for another server I got the error Microsoft SQL Native Client error '80040e37'. The problem occurs in a query inside an asp file that do not have schema.tablename, only tablename. But I do not want to include "schema" in all queries right now. All updates were installed and the default schema...

Retrieving data from xml file created by xsl

Not sure if the title makes any sense, but I need to read an XML document and retrieve the data created by an XSL XPath query. The XML is located here and the XSL here. If that's not possible, I'm assuming that I'll have to write the XPath query manually. So my question is, since XSL already generates the total, any way to parse it out...

javascript: history.go(1) required to preserve ASP sessions?

I've inherited a Classic ASP app, and the former author claims that: BODY onload="javascript: history.go(1);" is required to keep the site from "losing sessions" Has anyone heard of this quirk? I can't fathom it. ...

ASPX server-side function call after client-side user confirmation?

Maybe I'm searching with the wrong keywords, but I can't find a solution to this. I've got an ASPX page on which, within an <asp:Repeater> I want to insert a button (per item) that will: ask (JS "confirm") the user if they really want to proceed, then call a method on the page class passing in the ID (Guid) from that item. I can do ...

Design Classic ASP applications to detect session expiration dynamically

I've got a Classic ASP application that relies on session; if the user leaves a screen idle and then runs a form post or other operation, I'd like to know whether the session has expired. Currently I'm checking session in each page to see if it's timed out, but is there a better, dynamic, JavaScripty approach that will do what banks do ...

Can implement buildin server in my application , that support php/asp?

Hello all i have application that generate php/html/asp web sites and i like to be able to let the possibility to test the sites from within the application . is there any possibility to do that ? ...

How to deal with link redirects when migrating from classic ASP to ASP.NET?

I have a large-ish web project which is migrating from classic ASP to ASP.NET (about time), and would like to redirect requests from the old addresses, such as: /some/path/old-page.asp?foo=bar to the new addresses: /other/path/new-page.aspx?qaz=bak For a fairly long time, there will be classic ASP pages running in parallel wi...

Nant and ASP/.NET 1.1: do they get along?

I'm working on a mixed application (ASP, ASP.NET) and I brought up using Nant for deployments. The person I was talking to said that he'd heard that Nant wouldn't work for us because we have such a mixed bag (.NET 1.1 and .NET 2.0 apps, ASP, ASP.NET). I can't imagine that's the case, just seems really unlikely. Your opinion? Have you bu...

How to display session id in ASP page (without vulnerablity)

I am displaying the session id in the asp page. But it is vulnerable. How can I show the session id by encoding or some other way. I cant avoid displaying session id in web screen ...

How to bind to a dropdown list wih no value

Hi all, I have written some code to do a bulk update of a gridview. In the gridview one of my template fields has a drop downlist: <asp:DropDownList ID="DDLCategories" runat="server" DataSourceID="odsCategories" DataTextField="txtCategory" DataValueField="intCategoryID" SelectedValue='<%# Bind("intCategoryID") %>'> <asp:ListIte...

How to set the text of a label inside a user control

Hi All, I have a user control that displays a list of categories. In that user control I have a Label control that I would like to write to from the code behind file. This is my Label I have tried this code: Label lblCount = (Label)this.Page.FindControl("Label1"); lblCount.text = "some text"; How can I get access to write to the l...

Is it possible to install ASP on Linux Ubuntu Hardy?

I have recently purchased a VPS from Slicehost with Ubuntu Hardy installed. Is it possible to set up the server to work with ASP? I have no idea if this is possible, but if it is, does anyone have any good tutorials? Thanks. ...

Populate 2 or more tables in ASP MVC

Hello, in new in ASP MVC im reading some examples and looking on internet, i think its not so hard once you jump into it. im a webform programmer but i want to use MVC for internet applications and Webforms for Intranet Apps. im looking the way of populate more than 1 table in MVC, because the method only allow me to return One ModelVi...

What is the PostInfo Meta Tag that appears in my ASP page?

I've got a tag that looks like this: <meta name="postinfo" content="/scripts/postinfo.asp"> that's appeared in my default.asp in a classic ASP application. What is it and can I remove it? ...