Click here to Skip to main content
15,913,487 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: converting ink file to image in .net Pin
N a v a n e e t h12-Mar-08 19:42
N a v a n e e t h12-Mar-08 19:42 
GeneralRe: converting ink file to image in .net Pin
Piyush Vardhan Singh12-Mar-08 20:20
Piyush Vardhan Singh12-Mar-08 20:20 
GeneralRe: converting ink file to image in .net Pin
Piyush Vardhan Singh13-Mar-08 22:13
Piyush Vardhan Singh13-Mar-08 22:13 
Questionhow to generate pdf report dynamically from dataset without using response object in asp.net. Pin
ashok@techxygen12-Mar-08 19:38
ashok@techxygen12-Mar-08 19:38 
AnswerRe: how to generate pdf report dynamically from dataset without using response object in asp.net. Pin
Christian Graus12-Mar-08 20:22
protectorChristian Graus12-Mar-08 20:22 
Generalonline payment module Pin
Member 465900112-Mar-08 19:36
Member 465900112-Mar-08 19:36 
GeneralRe: online payment module Pin
Christian Graus12-Mar-08 20:24
protectorChristian Graus12-Mar-08 20:24 
GeneralDisplaying Server Date and Time on client page Pin
www.Developerof.NET12-Mar-08 19:33
www.Developerof.NET12-Mar-08 19:33 
Hi all,

I wan`t to display the server time to be displayed in one corner of my page. For that purpose i av got a script that was originally built for PHP. I made some changes , but it doesn`t work....

here is my code...

// JScript File<br />
<br />
<br />
var currenttime ="<%=DateTime.Now%>"<br />
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")<br />
var serverdate=new Date(currenttime);<br />
<br />
function padlength(what){<br />
var output=(what.toString().length==1)? "0"+what : what<br />
return output<br />
}<br />
<br />
function displaytime(){<br />
serverdate.setSeconds(serverdate.getSeconds()+1)<br />
var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()<br />
var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds())<br />
document.getElementById("servertime").innerHTML=datestring+" "+timestring<br />
}<br />
<br />
window.onload=function(){<br />
setInterval("displaytime()", 1000)<br />
}<br />



does any body have some suggestions or atleast a working code....!!!!!!

When you fail to plan, you are planning to fail.

GeneralRe: Displaying Server Date and Time on client page Pin
N a v a n e e t h12-Mar-08 19:41
N a v a n e e t h12-Mar-08 19:41 
GeneralRe: Displaying Server Date and Time on client page Pin
www.Developerof.NET12-Mar-08 22:58
www.Developerof.NET12-Mar-08 22:58 
Generalcheck if row with datakey againsts session value in gridview Pin
uglyeyes12-Mar-08 19:18
uglyeyes12-Mar-08 19:18 
GeneralRe: check if row with datakey againsts session value in gridview Pin
N a v a n e e t h12-Mar-08 19:38
N a v a n e e t h12-Mar-08 19:38 
GeneralAbout Datagrid Pin
Member 404117812-Mar-08 19:08
Member 404117812-Mar-08 19:08 
GeneralRe: About Datagrid Pin
N a v a n e e t h12-Mar-08 19:13
N a v a n e e t h12-Mar-08 19:13 
Questionhow to delete the files in the client system Pin
lakshmichawala12-Mar-08 19:06
lakshmichawala12-Mar-08 19:06 
AnswerRe: how to delete the files in the client system Pin
N a v a n e e t h12-Mar-08 19:12
N a v a n e e t h12-Mar-08 19:12 
GeneralRe: how to delete the files in the client system Pin
lakshmichawala12-Mar-08 19:21
lakshmichawala12-Mar-08 19:21 
GeneralRe: how to delete the files in the client system Pin
N a v a n e e t h12-Mar-08 19:24
N a v a n e e t h12-Mar-08 19:24 
AnswerRe: how to delete the files in the client system Pin
Christian Graus12-Mar-08 20:24
protectorChristian Graus12-Mar-08 20:24 
Questionhow to reduce the size of a webpage Pin
chithra.r12-Mar-08 19:02
chithra.r12-Mar-08 19:02 
AnswerRe: how to reduce the size of a webpage Pin
N a v a n e e t h12-Mar-08 19:09
N a v a n e e t h12-Mar-08 19:09 
QuestionHi friends. I need a useful websites link which gives codings for chat system using asp.net Pin
G Nathan12-Mar-08 18:42
G Nathan12-Mar-08 18:42 
GeneralRe: Hi friends. I need a useful websites link which gives codings for chat system using asp.net Pin
Not Active12-Mar-08 18:44
mentorNot Active12-Mar-08 18:44 
QuestionRe: Hi friends. I need a useful websites link which gives codings for chat system using asp.net Pin
G Nathan12-Mar-08 19:00
G Nathan12-Mar-08 19:00 
GeneralRe: Hi friends. I need a useful websites link which gives codings for chat system using asp.net Pin
N a v a n e e t h12-Mar-08 19:06
N a v a n e e t h12-Mar-08 19:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.