Is it possible on an IIS to redirect all files with the file extension .asp to one single file (i.e. switch.php, switch.cfm) and how?
Thx in advance for the upcoming solutions :)
EDIT:
version of IIS is "IIS 6.0"
...
I've written a small web application which is basically a JQuery powered chat client within the browser, to get the posts I'm polling the server with an AJAX request and then appending any new replies, I'm worried about making this as efficient as possible while not losing the realtime feel.
http://darklightweb.co.uk/RealTime/
I can't ...
Hi,
In my application I am trying to implement Custom "ToolTips" and it is working fine.
But the problem is:
If any control like button or textbox is present just beside to the tooltip and the tooltip is long enough, then the control hides (whatever be the controls length) the tooltip.
Could you please let me know the possible soluti...
I am trying to split a string from a recordset that is in the format DD/MM/YYYY.
So basically something like:
Homework.Fields.Item("DateDue").Value.split("/")
But that doesn't work, Normally I can do:
String(Homework.Fields.Item("DateDue").Value).split("/")
But using String() turns the value into a long thing like:
Wed Oct 26 00:...
Hi all, I'm pretty new to this.
I have an ASP gridview control so that in my program, when someone enters the email address and submits, the results are show (this works). What I was wondering is, is it possible to change the layout of the gridview so that not all results are shown on one line and so I can move some results to a new lin...
Help me for create a xml, based on Room Count of hotel
For example:
I have 5 Rooms: Room1, Room2, Room3, Room4 and Room5.
In Room1: 2 Adults, 1 Child, Age 6
In Room2: 1 Adult, 0 Child
In Room3: 2 Adults, 2 Child, Age 6, Age 7
In Room4: 1 Adult, 0 Child
In Room5: 2 Adult, 1 Child, Age 6
If Child is 0 and Adult count comes same ( her...
Hi,
that's all in the title.
I've got a Curriculum Vitae form which has a textarea using TinyMCE and a file upload input, and the script is in classic ASP.
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "simple" });
</script>
<textarea name="messaggio"
id="messaggio"></text...
We are replacing an old classic asp website with a .NET 3.5 solution.
We need to redirect all of the classic ASP requests to aspx pages (i.e. contactus.asp, may now route to /contact-us/default.aspx). What I woudl like is for the requests to hit global.asax so I can do something like
If url == "bob.asp"
Response.Status = "301 Mov...
Hi guys,
Why is failure login redirects to other login page and not on the same page. I noticed this in most social networks like facebook, myspace and etc. I their a signicance?
Best regards
...
How write code in ASP to get website visitors IP address and Country ID ?
Plz help me,
Alex
...
This is a very simple question, but one I can't find an answer to. If I have an SqlDataSource that takes parameters, how can I see the actual SQL that will be executed against the DB after the binding takes place? (I have tried adding a breakpoint to code on the onBinding event of the SqlDataSource)
Thanks for any help
Ryan
...
My Linq To Sql query
PROJETS = PROJETS.Where(p => (p.VilleArrive != "" && p.VilleArrive != null) && p.VilleArrive.Contains(alerte.VilleArrive));
is translated like this
SELECT * // (many columns)
FROM [dbo].[cov_Projet] AS [t0]
WHERE ([t0].[VilleArrive] <> @p0) // city != ""
AND ([t0].[VilleArrive] IS NOT NULL) // city != nul...
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="conn.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Is the above c...
Hi
This is my first post!!
Have a large amount of data that is rendered progressively (using classic ASP) and all works fine in IE and Firefox. However, when I view the exact same page from within a school environment (i.e. behind a firewall and via a proxy server) the page only renders progressively in Firefox. In IE (6, 7 and 8) the ...
I want to insert french characters in an Access database using ASP.
Can you please suggest me what can i do??
Many Thanks
Shaheen
...
I have a commandargument inside an aspx page set to an object variable inside a for loop as below:
<% foreach (PromotionImage p in imageList)
{
%>
<asp:LinkButton runat="server" OnCommand="deleteButton_Click" ID="deleteButton" CommandArgument="<%# p.ImageId.ToString(); %>" ForeColor="Red"
OnClientC...
I want to inject a confirmation dialog to allow the user to cancel the click before the postback occurs.
What's the cleanest way?
<asp:LinkButton ID="Btn_RemoveContractPeriod" Text="Remove"
runat="server" OnClick="OnRemoveContractPeriod_Click"/>
...
I´m writing on a webpart for sharepoint, so I have to generate a Datagrid problematically.
The Situation is that I get a Dataview, generate the Gris and bind the Data.
One column should show a Image, so I have to generate a template column with item template.
So code looks like this:
//Instantiate the DataGrid, and set the DataSource
...
Hello,
Here is the situation : we have to offer a customer with a web-based search engine that will make a search for a given string inside a list of documents whose paths are logged in a database.
The supported documents are PDF, Word, Excel, TXT.
So we have 2 options :
PHP
ASP
Anyone heard of any good open-source solutions regar...
Hi
I have an action method that takes in two different objects.
I am posting JSON to the action using jquery, to do this I put all the properties i want to map to my two objects in the one Json object.
This works correctly and maps to the two objects in my action!
I want to be able to pass Json and map to a list of objects? is this po...