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. Web Development
  3. ASP.NET
  4. calendar with drop down list

calendar with drop down list

Scheduled Pinned Locked Moved ASP.NET
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 Value

    C 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 Value

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      If you're gong to do your own calendar with drop downs, why on earth do you also use a calendar control ?

      Christian Graus Driven to the arms of OSX by Vista.

      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