|
Well crap - I want to use the value on the server side, but it won't let me.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
well having set it client-side, you can't expect to use it on the server until or unless you post the page back... (or make some ajax style callback)
|
|
|
|
|
|
JimmyRopes wrote: Ajax is your friend.
No, it's not. It's more like a hooker in the red-light district beckoning from the shadows. The site in question is classic ASP. I'm not permitted to use ANY technology other than html, css, javascript, and vbscript. I recommended that we convert it to aspx/C#, but I was told we don't have the funding for that.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: JimmyRopes wrote:
Ajax is your friend.
No, it's not.
Pardon me, I mistook you for someone who knew what AJAX is.
John Simmons / outlaw programmer wrote: I'm not permitted to use ANY technology other than html, css, javascript , and vbscript.
I see you do not understand what AJAX is.
Here's a question for you, "what does the J in AJAX stand for"?
John Simmons / outlaw programmer wrote: I recommended that we convert it to aspx/C#, but I was told we don't have the funding for that.
And presumably that relates to why you can't use AJAX in some way.
|
|
|
|
|
And you must have missed the point I was trying to make - I do not have the funding to refactor in any way.
Are you sure you're old enough to be using the web without your parents looking over your shoulder?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: And you must have missed the point I was trying to make - I do not have the funding to refactor in any way.
Then what are you doing touching the code?
John Simmons / outlaw programmer wrote: Are you sure you're old enough to be using the web without your parents looking over your shoulder?
Older than you! But then again I don't go around claiming I know what I am doing because I have X number of years doing it! Only frauds resort to that tactic!
|
|
|
|
|
http://en.wikipedia.org/wiki/XMLHttpRequest[^]
[ My Blog]
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
AJAX is just javascript. If you don't call it AJAX, it's probably fine, if you do, perhaps it's not :P
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Guys,
Do you have an idea on how to populate a field value from sql table to TextArea Control using code behind VB coding?
Thanks in advance Guys
hifiger2004
|
|
|
|
|
If it's a server control you can set it in your page prerender event. If it's not, you can add tags to pass the value through, but then it will occur at the start of your page lifecycle.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Christ,
how will I code it if it's a server control?
I hope you can show me a bit of how it will be done
Thanks
hifiger2004
|
|
|
|
|
yes, prerender event is the solution. I just added the runat="server" and went toe prerender event, and then added some value. It works!
Thanks Christ
hifiger2004
|
|
|
|
|
Hi,
I am using C# 2.0 and I came across a section of code that looks like this:
Regex.Matches(strPassword, @"\W").Count
I don't understand what it is trying to count. Please can some help me out??
Thanks
ma se
|
|
|
|
|
That is counting the number of non-alphanumeric characters in the string, for example %, &, $ etc
|
|
|
|
|
i have a protected web page with a button labeled as mail
.when the user click that mail button ,a table with link is displayed,this table links are word documents.
here when the user click these links,a word document is open,and its address appear in the address bar..
if we copy the address from the bar,close the web site and paste the address in the address bar,the word document is loaded.
i want to prevent the copy and paste.. since these word document are for members only..
am using asp and ms access
if anyone has a solution,please help
thanks you in advance
|
|
|
|
|
Do you have access to the web server the application is being hosted on? There are a few ways which this can be done most good ones require direct access in some manner to the web server.
If you dont the only way I can suggest is to hold the documents in the database and stream them to the client after doing a permission check, but let me know your circumstances and I will go into a bit more detail if you need it.
|
|
|
|
|
hi
thanks for helping me,
i am still developing this website,its the first project am developing after my college,am trying my level best to satisfy them.
am testing my webpage from my localhost only.
am using ms access ,and storing the word document in a folder,found in the inetpub folder,when i run the asp page where the user has its document,the page display a link
,and on click the word document is open.
this document address is displayed in the address bar,
the question come,when i copy this address and close the website,and again paste this add in the address bar,the word document is open,
that the only thing i dont want to happen.
any idea what and how to solve this problem.
thanks 4 helping
|
|
|
|
|
i have a web site where i am using crystal reports for some of my reports.
when the reports are viewed by the client in his browser he is not able to see the reports because he don't have crystal report viewer.so i want to create a button in my page.if user clicks the button.the req DLL have to copy from server to the clinet and i need to register them in his registry.
please can any body tell me the solution how i can do the Job
i am using asp for the web development
Thanks in advance
sharath Chandra
|
|
|
|
|
chandu_shar wrote: the req DLL have to copy from server to the clinet and i need to register them in his registry.
Have a small report setup to download for the client browser.
|
|
|
|
|
i am doing an application in ASP .NET and AJAX...I felt a difficulty in implementing the Ajax Validator CalloutExtender Control.
I am new to AJAX, so someone plz help me recover this....
Thnx in advance......
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
|
|
|
|
|
Get it [^]
Sanjay Kunjam
------------------------------------------------------------------
"Computers are useless. They can only give answers" - Pablo Picasso
------------------------------------------------------------------
|
|
|
|
|
Hi,
There are plenty of articles says that
Do not store objects in Session or Application scope for better performance !!
can anybody tell me
1.what happen when we store the Objects (e.g FSO,DICTIONARY,RecordSet) in session or application ?
2.How the performance get down, if objects are stored in the session scope ?
N.Rajakumar
Application Developer,
|
|
|
|
|
Rajkamal_dfine wrote: Do not store objects in Session or Application scope for better performance !!
It's won't be like this. May be "don't store more large objects in session or application"
Rajkamal_dfine wrote: 1.what happen when we store the Objects (e.g FSO,DICTIONARY,RecordSet) in session or application ?
Assume you have 20000 or more than that user online at a time. All these session objects will be stored in the server memory and finally server will die without getting memory.
|
|
|
|
|
Any good cross-browser compatible ShowModalDialog implemetation other than workarounds like onFocus="this.blur()" and other tricks?
|
|
|
|