Hello all,
I need to find a way to call a vb.net function in my aspx page from javascript. I have a Jquery function that makes the .drop class .droppable, and whenever I drop a .draggable onto a drop target, my Jquery code successfully fires a java alert statement. All in pure javascript. What I need to do is some heavy math!
I do unde...
Following up from my last question does anyone know how I can use a dictionary object in application scope in Classic ASP? You cannot use Scripting.Dictionary - if you try you will see something similar to the following:
Application object error 'ASP 0197 : 80004005'
Disallowed object use /xxx.asp, line 2. Cannot add object with apartme...
I'm trying to improve the performance of a website written in classic ASP.
It supports multiple languages the problem lies in how this was implemented. It has the following method:
GetTranslation(id,language)
Which is called all over the shop like this:
<%= GetTranslation([someid],[thelanguage]) %>
That method just looks up the ID...
Hello all,
I've been trying to somehow get my javascript function (which I have in the head section of the aspx page) to set a value in a hidden item, then some how have the server-side (trusty 'ol ASP) read that data so I can do some work depending on what it is. I have my entire page wrapped in an update panel, and my drag 'n drop woe...
Hello all,
On the homepage of my website - www.mobiuspc.com, I have some distinct sections that I color coded so I could see how its all laid out. There is the master page section, which works just fine (its the tan bar with buttons like "Components" and such), and at that level and up everything works as best as I could wish for.
Down...
I'm getting a problem with only 1 of about 30 sites we run on a W2003 Web Server.
Probably for about 25% of the day, the website constantly returns : SQL Timeout Errors on various connections to SQL (using ODBC)
I have checked and updated the ODBC drivers to the latest that I could find (3.5.x?) and I am also checking the SQL server t...
I have a problem where I am storing a UTF8 string in SQL Server as USC2, when I pull it out to display on a page with content-type set to UTF-8 it works fine. But I have a third party javascript component which when I pass it the string for the database it renders it as USC2. or not UTF8.
Is there a way in ASP to convert this string to ...
Hello
the string is = "Reg.asp?q=RG_Price=5000*8000,Activated=1"
and i want to replace "RG_Price=5000*8000" with that "Price BETWEEN 5000 AND 8000".
Is that possible with Regular Expressions in ASP ?
...
I am storing Chinese and English text in an SQL Server 2005 database and displaying it on a webpage, but the Chinese is not being displayed correctly.
I have been reading about the subject and have done the following:
used N before the text in my INSERT statement
set the field type to nvarchar
set the charset of the page to UTF-8
Chi...
Duplicate of http://stackoverflow.com/questions/412264/progress-bar
i want to create a progress bar to given number
...
Say you have public ASP.NET (and Classic ASP) applications on IIS with a script/page that needs to write or update html files in a specific folder that is located within the web publishing folder tree.
What is the proper way to handle this and exactly how do you do it? (i.e. set directory permissions in IIS or windows explorer)
My main...
Hi! I have a website (www.soltrago.com) wghere I use a .mdb microsoft access database to retrieve data when the pages loads. I use a dns less connection to connect to the database. My question is how many simultaneous connections can I have to my webpage? Like how many people per second can view my webpage? Thanks!
...
I was thinking of the best way of adding a class of 'featured' (in classic ASP), in this sequence of records from a DB: N,Y,Y,N,N,Y,Y
The sequence is:
2 3 6 7 10 11 14 15 18 19...
I already have a count (starting from 1 going for each record)
Many thanks!
...
I've run into an odd problem with a legacy ASP application that uses Oracle 9i as its database. We recently had the DBA increase the size of a VARCHAR2 field from VARCHAR2(2000) to VARCHAR2(4000). The problem is that a NULL byte (ASCII: 0) is inserted into the 2001 character position in the string even if the string inserted is larger ...
I'd like to implement something like stackoverflow's login system in classic asp...
is it possible?
thanks in advance...
...
Hello everyone,
Some of my legacy program is using ASP (not ASP.Net), and even if I set long session expire time for example to 20 minutes, sometimes in short time (e.g. in several minutes) I will still notice session expire error box -- "too much idle time, please login again".
Any ideas to analalyze further? Not sure whether it is my...
Hello everyone,
I am confused about ASP or ASP.Net session life time (or life cycle) concepts. More specifically, my confusions are,
how did IIS magically knows a new session starts and an existing session ends? Especially how IIS treats whether a session continues or ends when we call redirect code;
how many differnet ways to set ses...
Hello everyone,
My question is about classic ASP, not ASP.Net. I ask expert here since search engine always tell me ASP.Net answers. My confusions are,
How to set session expiration time in classic ASP code or through configuration?
How to extend session expire time? Is there a session expire event?
How to know when session will expir...
I have a Gridview that I create a dynamic footer wired up to the RowDataBound event.
However there is a 50/50 chance that 3 of the columns will have no data.
I want to be able to dynamically hide the columns with no data if possible.
I have tried doing this in the RowDatabound event by checking if the value is = 0 but that does not wo...
Hello everyone,
In MSDN, it is said, "The timeout will not take effect while a server component is processing." -- what does this statement mean? Could anyone show a scenario it is referring to please?
http://msdn.microsoft.com/en-us/library/ms524831.aspx
A related question is, whether it is good code to judge that, if a session varia...