Click here to Skip to main content
16,006,348 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDownLoad Using JavaScript Pin
nannapanenikamalnath26-Dec-06 18:08
nannapanenikamalnath26-Dec-06 18:08 
AnswerRe: DownLoad Using JavaScript Pin
m.rastgar26-Dec-06 19:29
m.rastgar26-Dec-06 19:29 
GeneralRe: DownLoad Using JavaScript Pin
nannapanenikamalnath26-Dec-06 23:17
nannapanenikamalnath26-Dec-06 23:17 
GeneralRe: DownLoad Using JavaScript Pin
nannapanenikamalnath26-Dec-06 23:19
nannapanenikamalnath26-Dec-06 23:19 
GeneralRe: DownLoad Using JavaScript Pin
Paddy Boyd26-Dec-06 23:27
Paddy Boyd26-Dec-06 23:27 
GeneralRe: DownLoad Using JavaScript Pin
nannapanenikamalnath27-Dec-06 19:53
nannapanenikamalnath27-Dec-06 19:53 
QuestionCan anybody help me to use combobox from Javascript function [modified] Pin
indian14326-Dec-06 17:58
indian14326-Dec-06 17:58 
AnswerRe: Can anybody help me to use combobox from Javascript function Pin
Venkatesh Mookkan26-Dec-06 19:32
Venkatesh Mookkan26-Dec-06 19:32 
Try this javascript man...

function GetDayOfMonth(DayCtrlName, MonthCtrlName, YearCtrlName){
   var DayCtrl=document.getElementById(DayCtrlName);
   var MonthCtrl=document.getElementById(MonthCtrlName);
   var YearCtrl=document.getElementById(YearCtrlName);
   var lastDayValue=DayCtrl.value;
   var DaysCount=31;
   if (MonthCtrl.options[MonthCtrl.selectedIndex].value=='2' && 
       (parseInt(YearCtrl.options[YearCtrl.selectedIndex].value)%4)==0){
       DaysCount=29;
   }else if (MonthCtrl.options[MonthCtrl.selectedIndex].value=='2'){
       DaysCount=28;
   }else if (MonthCtrl.options[MonthCtrl.selectedIndex].value=='4' || 
             MonthCtrl.options[MonthCtrl.selectedIndex].value=='6' || 
             MonthCtrl.options[MonthCtrl.selectedIndex].value=='9' || 
             MonthCtrl.options[MonthCtrl.selectedIndex].value=='11'){
       DaysCount=30;
   }
   DayCtrl.options.length=0;
   var oOption;
   for (var i=1;i<=DaysCount;i++){
       oOption = document.createElement('option');
       DayCtrl.options.add(oOption);
       oOption.innerHTML=i;
       oOption.value=i;
       if (i==lastDayValue) oOption.selected=true;
   }
}



Regards,
Venkatesh Mookkan.
Software Engineer

AnswerRe: Can anybody help me to use combobox from Javascript function Pin
m.rastgar26-Dec-06 19:43
m.rastgar26-Dec-06 19:43 
GeneralRe: Can anybody help me to use combobox from Javascript function Pin
indian14326-Dec-06 22:19
indian14326-Dec-06 22:19 
Generalhelp me to use combobox from Javascript function Pin
indian14326-Dec-06 22:20
indian14326-Dec-06 22:20 
GeneralRe: help me to use combobox from Javascript function Pin
Mircea Grelus26-Dec-06 22:56
Mircea Grelus26-Dec-06 22:56 
Question[Message Deleted] Pin
PREMSONBABY26-Dec-06 17:53
PREMSONBABY26-Dec-06 17:53 
AnswerRe: Asp.net file upload problem Pin
Arindam Tewary26-Dec-06 20:00
professionalArindam Tewary26-Dec-06 20:00 
GeneralRe: Asp.net file upload problem Pin
Arindam Tewary26-Dec-06 20:26
professionalArindam Tewary26-Dec-06 20:26 
Questionnobody knows my question: How can I show my error page in new page and old page should steel shows old data? Pin
m.rastgar26-Dec-06 17:49
m.rastgar26-Dec-06 17:49 
AnswerI'm sure. nobody knows. Pin
m.rastgar26-Dec-06 19:52
m.rastgar26-Dec-06 19:52 
QuestionTool for testing ASPX pages Pin
Marco225026-Dec-06 10:21
Marco225026-Dec-06 10:21 
AnswerRe: Tool for testing ASPX pages Pin
DavidNohejl26-Dec-06 12:15
DavidNohejl26-Dec-06 12:15 
QuestionHow does Flickr do it? Pin
asimeqi26-Dec-06 9:59
asimeqi26-Dec-06 9:59 
AnswerRe: How does Flickr do it? Pin
jszpila26-Dec-06 10:18
jszpila26-Dec-06 10:18 
GeneralRe: How does Flickr do it? Pin
prolibertine26-Dec-06 13:39
prolibertine26-Dec-06 13:39 
AnswerRe: How does Flickr do it? Pin
MaxRelaxman27-Dec-06 8:35
MaxRelaxman27-Dec-06 8:35 
QuestionDocument Parsers Pin
alexfromto26-Dec-06 9:28
alexfromto26-Dec-06 9:28 
AnswerRe: Document Parsers Pin
Paddy Boyd26-Dec-06 23:34
Paddy Boyd26-Dec-06 23:34 

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.