Hi Folks,
I am trying to embed my new fonts with the StyleSheet.css as
@font-face {
src:url(../Font/HelveticaNeueLTStd-Lt.otf);
font-family: "HelveticaNeueLight";
font-style: normal;
}
.helveticaclass{
color: Red;
font-size:12px;
font-family: "HelveticaNeueLight";
}
And apply to the lable as
<as...
Hello all,
I'm developing a website with server-side JScript engine over ASP server.
I have several try-catch clauses in my code looking roughly like this:
try {
// do something
}
catch (err) {
// pass it to the frontend code
die("Exception caught: " + err.description);
}
I would very much like to display the line number in ...
Hello,
Is there a way to include a VBScript page into an ASP page written using Javascript?
There is an ASP page written in Javascript, but our sidebar menu is written in VBScript. When I include the sidebar asp file into the Javascript the server gives an error.
< %@ LANGUAGE="JavaScript" %>
<%
...
< !--#include file="sidebar.asp...
Dear All,
I have a little problem but it makes me crazy. I made an application using asp, and I created a text box which would be filled by the date of today. It works well in my computer and the other clients, but some don't. and it always asks to input the date till the clients get bored and no result...
At first I thought that was ...
I have an application with the FrontEnd separated into one Project file and the Codebehind/classes separated into a completely different class library. What I need is a way to, from the UserControl Type, obtain it's VirtualPath.
Typically, we would have this in code
Board uc = (Board)Page.LoadControl(@"~\Board.ascx");
But I want is s...
I've got a SQL Server 2005 database and a classic ASP front end (don't ask). I'm trying to debug some errors in the IIS log file (error code 80040e14), and I'm not having much joy at the ASP end of things. Is it possible to retrieve the raw SQL which caused the error from SQL Server directly, or failing that set SQL Server to record such...
I'm writing a simple asp page to show a team rota based on some XML. Here's the XML:
<rota>
<shift date="20091201" primary="Chan" secondary="John" notes="notes"></shift>
<shift date="20091202" primary="Mike" secondary="Alex" notes="notes"></shift>
<shift date="20091203" primary="Ross" secondary="Mike" notes="notes"></shift>
<shift date=...
Hello everyone,
The question that I have is very basic: Is there a way to inform the web browser that the content of the cookie has changed?
I don't want to keep looking at the file and check if it has been updated because it'll cause performance degree on my app.
Thanks in advance!
...
Hi there, to maintain compatibility with a classic ASP system, I essentially need to build the equivalent of an ASP.NET datagrid (complete with read, insert and update capability) in Classic ASP, are there any tools out there that make this any easier than just simply handcoding tables? I'm fairly rusty at Classic ASP as well so an easy...
I do not know where my head is today, can somebody please explain to me - why I can get the hturl value by the request form and do the replace in the htstring? (I do this and it works - but only replaces one occurance of the (hturl) value.... The problem is that there is about 10 more occurances of the old value that I want to replace:
...
Hi,
I am displaying data in a web report from table using Recordset.
This works fine upto 5000 records but fails while more then 5000 records.
Recordset.Fields.Count gives Zero (0).
Please let suggest me any alternative.
Thank you
Sugam
...
I'm using the ASP Classic ReadLine() function of the File System Object. All has been working great until someone made their import file on a Mac in TextEdit. The line endings aren't the same, and ReadLine() reads in the entire file, not just 1 line at a time.
Is there a standard way of handling this? Some sort of page directive, or ...
Hi,
I've installed Google Analytics several times in the past without trouble. However, recently i've installed GA on a .asp page for the first time. Google Analytics dashboard tells me the tag is properly installed, but ever after several days, i can't see any data.
Is there any special setup required for .asp pages or windo...
I have a configuration file that i would like to update with classic asp.
Lets say the conf file looks like this:
[Parameters]
param1 = 'foo'
param2 = 'boo'
param3 = 'moo'
param4 = 'choo'
What I would like to do is write a script to change param2 and param4 to have different.
As I am not all that great with asp, I was wondering what...
Hey guys, was going to college but I had to stop due to financial hardships. I am thinking about working to get my MCPD certification in ASP.NET Developer 3.5 on Visual Studio 2008. Through this I was hoping i can get a good job and continue my education.
My question is - what are the possibilities of me getting a job with the MCPD cert...
I have seen a couple of instances now where some legacy code I'm working on exhibits what seems buggy behovior and I wonder if I just don't understand something.
rsCaspio.Open sql, dbCaspio, ,adLockReadOnly
response.write(rsCaspio("fieldname") & "<BR>")
response.write(rsCaspio("fieldname") & "<BR>")
It will write the contents th...
Hi,
I'm using the DataGrid control with template columns.
I m getting the data in datagrid but I'm having trouble accessing the data of checked row using java script.
How can i achive dis using java script?
...
Randomly accessing static files on our web site returns http 504 error status code
From fiddler:
Result Protocol Host URL Body Caching
Content-Type Process Comments Custom
288 504 HTTP
/assets/styles/site1.css 512 text/html
ekrn:700 289 504 HTTP
/assets/styles/rightmenu.css 512
text/html ekrn:700 291 504 HTTP
/assets/s...
Hello,
What is the best method to deploy an VS 2008 Web Application? My web application contains webservice references, libraries etc and i have to publish this to my production server which has iis 6.0 on it.
Should i use VS Web Deployment method? Should i go with pre compilation and publsih the website? I am confused as you can see :...
I've been looking into different methods of implementing masterpages.
Use the masterpage only for layout, include common controls on every page
Include controls on the masterpage, use a masterpage abstract base class and override it's properties in the masterpage class. This caused the masterpage events to no longer wire up. I could ...