|
Do you have runat="server" in your input html?
|
|
|
|
|
No, this is Classic ASP, not ASP.NET.
|
|
|
|
|
Which also runs at the server and would need this attribute...
|
|
|
|
|
I put runat="server" on the input field and changed the id to match the name (fname) but still get the same result:
fname.Value = recordset("fname")
Microsoft VBScript runtime error '800a01a8'
Object required: 'fname'
|
|
|
|
|
I wondered if anyone could help.
I want to write a script in a page to show the days since a certain date (which I would hard code into the script), so for example, on the screen it would show:
"It has been xx days since this event" (where xx is the number of days)
How would I do this, I could imagine it would be quite an easy javascript snipet using the dateadd function but I was not sure and couldnt find much on google to help.
p.s. Currently using HTML on the page but am I write in thinking a snipet can be any language as it is just declared at the top of the snipet and closed at the end?
Thanks
|
|
|
|
|
How 'bout something like this?
function DaysSince(date)
{
var msecPerDay = 1000*60*60*24;
return Math.floor( (Date.now() - date) / msecPerDay );
}
var days = DaysSince( new Date("2/3/2004") );
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
how do i set this up? i want to be able to simply password protect a folder with a simple username and password ... something that takes 2 minutes in apache ... can someone point me the way in IIS7 ... not IIS6 thanks
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
|
When I created a web application that used Crystal reprots on our development server I moved it to our web server. Now of course crystal reports isnt going to work but how do I copy the libraries over there so they will work? The techs for crystal reports said when I create a development package (setup deployment package in Visual Studio 2008) I need to copy the libraries with them. How exactly do I do this and it all work correctly?
|
|
|
|
|
Hi All
I am new to this webhosting.
I have designed and coded all my aspx pages in my personal PC, now my website is ready to host. Could any one please tell me the process how to place my project in the website(in my personal domain ex:www.mydomain.info).
I tried by copying all the coded files in to wwwroot directory using FTP, but it is showing webconfig error.even that web config file dosent contain any code and even it contains the correct code also it is showing the same error.
Could any one please please please help me from this tortured error.
Thanks a lot lot in advance
Goud
|
|
|
|
|
In addition to FTPing your files to the host, either you (via a control panel probably) or your host needs to set that directory as an "application" in IIS w/ the appropriate version of the framework for your code.
// Steve McLenithan
|
|
|
|
|
Dear all
I have used the coding of Databound Schedule Control under Web development - Custom Control . But I want to learn one thing from you, that how can we add more column in title field. Now there is only column. I want to add more than one.
modified on Sunday, July 20, 2008 2:36 AM
|
|
|
|
|
Hi .
see this : http://www.jomesurak.ir/
There is an image in this website with width="230" , height="180"
in IE6 and opera 9, the image shows correct, but in FF3 the image becomes bigger than original size.
Why ?
Can you help me ?
|
|
|
|
|
I assume it is a Firefox 3 bug.. I tried it in FF2 and it displays at the correct size. If it is this then unfortunately you'll just have to wait until they fix this bug.
Regards,
--Perspx
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
BSoD during a Win98 presentation
|
|
|
|
|
You might help yourself a bit by reporting the FF3 bug to the Mozilla people...
|
|
|
|
|
Thanks guys.
Absent-mindedly I used ZOOM, I reset it by (View > Zoom > Reset)
|
|
|
|
|
Hi All!
I Have Just Ran into a BIG problem while trying to use CSS to define the style attributes for a bunch of XML tags that i'm hoping someday i'll be able to use as a markup language. Here's My Problem:
I Can't seem to use attribute selectors.
My CSS doesn't work in the following scenario:
PANEL
{
}
Which sets the default attributes for the PANEL tag, and:
PANEL[COLOR="RED"]
{
}
Which sets the attributes for a PANEL tag when the COLOR attribute is "RED".
The XML that this is linked to is as follows:
<?XML-STYLESHEET TYPE="Text/CSS" HREF="../CSS/StyleMarkupDefinitionCrystalBlue.css"?>
<PANEL COLOR="RED">
</PANEL>
For Some Reason whenever i load my XML File into IE, i only ever get the default panel and never the 'RED' version, any ideas on why this may be?
Thanks!
MrWolfy
|
|
|
|
|
Try it as an inline stylesheet?
<?XML-STYLESHEET HREF="#ssheet" type="text/css"?>
<DOC>
<EXTRAS id="ssheet">
DOC { display: inline }
PANEL, PANEL[COLOR="RED"] { display: block }
PANEL {color: green;}
PANEL[COLOR="RED"] {color: red;}
EXTRAS { display: none }
</EXTRAS>
<PANEL>Text1</PANEL>
<PANEL COLOR="RED">Text2</PANEL>
</DOC>
That worked fine for me.
Hope this helps,
--Perspx
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
BSoD during a Win98 presentation
|
|
|
|
|
Hi and Thanks!
Thanks for your help, however the example you provided, unfortunately just shows both 'PANEL' elements green, I am using MSIE 7, is this a browser bug or something? Or should i have something enabled like a security setting?
Thanks Again!
MrWolfy
|
|
|
|
|
I'm assuming it's a browser bug as the code I gave you works fine in Opera and Firefox. Running OS X right now though so I'm not too sure about IE.
Regards,
--Perspx
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
BSoD during a Win98 presentation
|
|
|
|
|
Hi All,
I need to create a Webapplication for a Progress bar showing 0 to 100% completion without refreshing a page on a simple button click.
Please suggest me an idea.....
|
|
|
|
|
Ajax control maybe?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi!
If you're looking for something javaScriptish, then maybe something along these lines?
var LoadBarWidth = 1;
var LoadBarInterval = 1;
var LoadBarEndWidth = 400;
var LoadBarStepInPixels = 5;
var LoadBarIntervalID = 0;
function RunProgressBar()
{
var LoadBar = document.getElementById("MYLOADINGBAR");
if ( LoadBarWidth < LoadBarEndWidth )
{
LoadBarWidth += LoadBarStepInPixels;
LoadBar.style.width = LoadBarWidth;
}
else
{
clearInterval(LoadBarIntervalID);
}
}
function TickProgressBar()
{
LoadBarIntervalID = setInterval("RunProgressBar()", LoadBarInterval);
}
Where MYLOADBAR is the name of the division that is your loadbar.
Just a simple setInterval method usually does the trick, and this type of thing can be easily modified to do something upon the loadbar reaching 100%.
Forgive me if I misunderstood your question.
Hope this helps!
MrWolfy
|
|
|
|
|
|
Hell EveryBody,
I have a webservice in a server.And in another server I have a webApplication. When i use the webmethod of the webservice in my webApplication I got the following error.
I had already used this code, but no result.
webservLeave.PreAuthenticate = false;
webservLeave.Credentials = System.Net.CredentialCache.DefaultCredentials;
or
webservLeave.Credentials = System.Net.CredentialCache.DefaultCredentials;
The request failed with HTTP status 401: Unauthorized
plz help me out.
A key to every Solution
|
|
|
|
|
Hi
You might aware of ClearType or font Smoothing feature by default provided by microsoft on IE7.On XP by defaul it's off.
My application is having Web Control(ActiveX control).and I want to set cleartype on specific to my application.
Can any body tell how can I do whether using any window message or registry settings ?
To set the cleartype on wholse OS I guess there is one API "SystemParametersInfo" that also I don't know how to use to set for application specific. I tried using this API but does not setting into my XP Pro SP2 MACHINE.
Can any body help me on this. ?
Thanks,
Prakash.
sonani prakash
|
|
|
|