Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. calendar control with drop down list

calendar control with drop down list

Scheduled Pinned Locked Moved C#
csharpdesignsysadmintutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chithra r
    wrote on last edited by
    #1

    Hi iam trying to implement a calendar control.i want to design like this. i have 3 drop down list(for day,month,year) at the top followed by a calendar control. and 3 link buttons(prev,today,next) at the bottom. if i select the particular day,month and year the calendar has to display accordingly,the same should happen with the link buttons also. can anyone tell me how to do this.iam not using any ajax controls.iam using asp .net calendar control. the code goes like this.... cal.aspx... <table id="table1" width="100%"> <tr></tr> <tr> <td align="center"> <asp:DropDownList ID="cboDay" runat="server" AutoPostBack="True"> <asp:ListItem Value="1"></asp:ListItem> <asp:ListItem Value="2"></asp:ListItem> <asp:ListItem Value="3"></asp:ListItem> <asp:ListItem Value="4"></asp:ListItem> <asp:ListItem Value="5"></asp:ListItem> <asp:ListItem Value="6"></asp:ListItem> <asp:ListItem Value="7"></asp:ListItem> <asp:ListItem Value="8"></asp:ListItem> <asp:ListItem Value="9"></asp:ListItem> <asp:ListItem Value="10"></asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="cboMonth" runat="server" AutoPostBack="True"> <asp:ListItem Value="January"></asp:ListItem> <asp:ListItem Value="Febraury"></asp:ListItem> <asp:ListItem Value="March"></asp:ListItem> <asp:ListItem Value="April"></asp:ListItem> <asp:ListItem Value="May"></asp:ListItem> <asp:ListItem Value="June"></asp:ListItem> <asp:ListItem Value="July"></asp:ListItem> <asp:ListItem Value="August"></asp:ListItem> <asp:ListItem Value="September"></asp:ListItem> <asp:ListItem Value="October"></asp:ListItem> <asp:ListItem Value="November"></asp:ListItem> <asp:ListItem Value="December"></asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="cboYear" runat="server" AutoPostBack="True"> <asp:ListItem Value="2000"></asp:ListItem> <asp:ListItem Value="2001"></asp:ListItem> <asp:ListItem Value="2002"></asp:ListItem> <asp:ListItem Value="2003"></asp:ListItem> <asp:ListItem Value="2004"></asp:ListItem> <asp:ListItem Value="2005"></asp:ListItem> <asp:ListItem

    G 1 Reply Last reply
    0
    • C chithra r

      Hi iam trying to implement a calendar control.i want to design like this. i have 3 drop down list(for day,month,year) at the top followed by a calendar control. and 3 link buttons(prev,today,next) at the bottom. if i select the particular day,month and year the calendar has to display accordingly,the same should happen with the link buttons also. can anyone tell me how to do this.iam not using any ajax controls.iam using asp .net calendar control. the code goes like this.... cal.aspx... <table id="table1" width="100%"> <tr></tr> <tr> <td align="center"> <asp:DropDownList ID="cboDay" runat="server" AutoPostBack="True"> <asp:ListItem Value="1"></asp:ListItem> <asp:ListItem Value="2"></asp:ListItem> <asp:ListItem Value="3"></asp:ListItem> <asp:ListItem Value="4"></asp:ListItem> <asp:ListItem Value="5"></asp:ListItem> <asp:ListItem Value="6"></asp:ListItem> <asp:ListItem Value="7"></asp:ListItem> <asp:ListItem Value="8"></asp:ListItem> <asp:ListItem Value="9"></asp:ListItem> <asp:ListItem Value="10"></asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="cboMonth" runat="server" AutoPostBack="True"> <asp:ListItem Value="January"></asp:ListItem> <asp:ListItem Value="Febraury"></asp:ListItem> <asp:ListItem Value="March"></asp:ListItem> <asp:ListItem Value="April"></asp:ListItem> <asp:ListItem Value="May"></asp:ListItem> <asp:ListItem Value="June"></asp:ListItem> <asp:ListItem Value="July"></asp:ListItem> <asp:ListItem Value="August"></asp:ListItem> <asp:ListItem Value="September"></asp:ListItem> <asp:ListItem Value="October"></asp:ListItem> <asp:ListItem Value="November"></asp:ListItem> <asp:ListItem Value="December"></asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="cboYear" runat="server" AutoPostBack="True"> <asp:ListItem Value="2000"></asp:ListItem> <asp:ListItem Value="2001"></asp:ListItem> <asp:ListItem Value="2002"></asp:ListItem> <asp:ListItem Value="2003"></asp:ListItem> <asp:ListItem Value="2004"></asp:ListItem> <asp:ListItem Value="2005"></asp:ListItem> <asp:ListItem

      G Offline
      G Offline
      Giorgi Dalakishvili
      wrote on last edited by
      #2

      InvalidForumException has been thrown by your question. Please post it at correct forum.

      Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups