Click here to Skip to main content
15,885,366 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Question[Message Deleted] Pin
ahlaj7731-Mar-08 5:16
ahlaj7731-Mar-08 5:16 
GeneralRe: How to go about creating a voting system Pin
led mike31-Mar-08 5:38
led mike31-Mar-08 5:38 
GeneralCalender Chaos Pin
Reelix31-Mar-08 3:16
Reelix31-Mar-08 3:16 
GeneralRe: Calender Chaos Pin
Jesse Squire31-Mar-08 3:22
Jesse Squire31-Mar-08 3:22 
GeneralRe: Calender Chaos Pin
Reelix31-Mar-08 3:28
Reelix31-Mar-08 3:28 
GeneralRe: Calender Chaos Pin
Jesse Squire31-Mar-08 3:31
Jesse Squire31-Mar-08 3:31 
GeneralRe: Calender Chaos Pin
Reelix31-Mar-08 3:36
Reelix31-Mar-08 3:36 
GeneralRe: Calender Chaos Pin
Jesse Squire31-Mar-08 3:47
Jesse Squire31-Mar-08 3:47 
Gah! Nope, the problem is not framework version, the problem is me working from memory and mixing languages up. Never try to answer a .NET date parsing question while writing an Oracle stored procedure that uses a date range. Blush | :O

My apologies. My bad.

Be sure to call the Date property of your date when setting the selected date. That appears to be the culprit. For example:

  string date = "03/27/2008 12:36:00 PM";

  DateTime myDate = DateTime.Parse(date);

 

  this.Calendar.SelectedDate = myDate.Date;

  this.Calendar.SelectedDayStyle.BackColor = System.Drawing.Color.Blue;



  --Jesse
"... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi

GeneralRe: Calender Chaos Pin
Reelix31-Mar-08 3:52
Reelix31-Mar-08 3:52 
GeneralRe: Calender Chaos Pin
Jesse Squire31-Mar-08 3:56
Jesse Squire31-Mar-08 3:56 
JokeRe: Calender Chaos Pin
Anurag Sharma - Backoffice31-Mar-08 5:18
Anurag Sharma - Backoffice31-Mar-08 5:18 
Generallast modified column Pin
docsoft31-Mar-08 1:36
docsoft31-Mar-08 1:36 
GeneralRe: last modified column Pin
Laddie31-Mar-08 2:13
Laddie31-Mar-08 2:13 
GeneralRe: last modified column Pin
docsoft31-Mar-08 2:23
docsoft31-Mar-08 2:23 
GeneralRe: last modified column Pin
Laddie31-Mar-08 2:49
Laddie31-Mar-08 2:49 
GeneralRe: last modified column Pin
farazsk1131-Mar-08 7:50
farazsk1131-Mar-08 7:50 
Questionbutton control issue. [modified] Pin
Pankaj Garg31-Mar-08 0:42
Pankaj Garg31-Mar-08 0:42 
GeneralRe: button control issue. Pin
Declan Bright31-Mar-08 1:29
Declan Bright31-Mar-08 1:29 
QuestionRe: button control issue. Pin
Pankaj Garg31-Mar-08 2:17
Pankaj Garg31-Mar-08 2:17 
GeneralRe: button control issue. Pin
Declan Bright31-Mar-08 2:25
Declan Bright31-Mar-08 2:25 
GeneralASP.NET Development Server + SoapExtensions Pin
Roger Alsing31-Mar-08 0:29
Roger Alsing31-Mar-08 0:29 
GeneralRe: ASP.NET Development Server + SoapExtensions Pin
Laddie31-Mar-08 0:37
Laddie31-Mar-08 0:37 
GeneralRe: ASP.NET Development Server + SoapExtensions Pin
Roger Alsing31-Mar-08 3:31
Roger Alsing31-Mar-08 3:31 
QuestionNaming randomly a DropDownList Pin
kontax30-Mar-08 23:47
kontax30-Mar-08 23:47 
GeneralRe: Naming randomly a DropDownList [modified] Pin
Laddie30-Mar-08 23:52
Laddie30-Mar-08 23:52 

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.