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. Looking for calendar control like outlook 2007.

Looking for calendar control like outlook 2007.

Scheduled Pinned Locked Moved C#
helpquestion
3 Posts 3 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.
  • H Offline
    H Offline
    hdv212
    wrote on last edited by
    #1

    Hi i'm looking for a calendar control like outlook 2007. can anybody help me ? thanks

    H A 2 Replies Last reply
    0
    • H hdv212

      Hi i'm looking for a calendar control like outlook 2007. can anybody help me ? thanks

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      If you had, at the very least, searched the CP articles, you might have found MS Outlook style Calendar[^]. You didn't search, so you didn't find. Think yourself lucky that I'm in a good mood today, for a change! :)

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      1 Reply Last reply
      0
      • H hdv212

        Hi i'm looking for a calendar control like outlook 2007. can anybody help me ? thanks

        A Offline
        A Offline
        April Fans
        wrote on last edited by
        #3

        Hello, you can try this one: <input onclick="showcalendar(event, this)" onfocus="showcalendar(event, this)" size=24 name=birthday> JS code: var userAgent = navigator.userAgent.toLowerCase(); var is_webtv = userAgent.indexOf('webtv') != -1; var is_saf = userAgent.indexOf('applewebkit') != -1 || navigator.vendor == 'Apple Computer, Inc.'; var is_opera = userAgent.indexOf('opera') != -1 && opera.version(); var is_moz = (navigator.product == 'Gecko' && !is_saf) && userAgent.substr(userAgent.indexOf('firefox') + 8, 3); var is_ie = (userAgent.indexOf('msie') != -1 && !is_opera && !is_saf && !is_webtv) && userAgent.substr(userAgent.indexOf('msie') + 5, 3); var controlid = null; var currdate = null; var startdate = null; var enddate = null; var yy = null; var mm = null; var currday = null; var addtime = false; var today = new Date(); var lastcheckedyear = false; var lastcheckedmonth = false; function $(id) { return document.getElementById(id); } function doane(event) { e = event ? event : window.event ; if(is_ie) { e.returnValue = false; e.cancelBubble = true; } else { e.stopPropagation(); e.preventDefault(); } } function loadcalendar() { s = '<style type="text/css">'; s += '.calendar_header {text-align: center;BORDER: #698CC3 1px solid; BACKGROUND: white; outline: 1px solid #698CC3}'; s += '.calendar_checked A { COLOR: #FFF; background:#698CC3;}'; s += '.calendar_expire A:link { COLOR: #999;}'; s += '.calendar_default A:link { COLOR: #000;}'; s += '.calendar_today A:link { display: inline-block;COLOR: #9EB6D8; border:1px solid #698CC3; padding:1px;}'; s += '.calendar_expire A:hover,.calendar_today A:hover,.calendar_default A:hover { COLOR: #FFF; background:#9EB6D8;}'; s += '#calendar_year,#calendar_month { Z-INDEX: 10; DISPLAY: none; POSITION: absolute;}'; s += '</style>'; s += '<div id="calendar" style="display:none; position:absolute; z-index:9;" onclick="doane(event)">'; s += '<div style="width: 180px;"><table cellspacing="0" cellpadding="0" width="100%" style="text-align: center;BORDER: #698CC3 1px solid; BACKGROUND: white; outline: 1px solid #698CC3">'; s += '<tr align="center" bgcolor="#E3EFFF"><td height=20><a onclick="refreshcalendar(yy, mm-1)" title="上一月"><<</a></td>'; s += '<td colspan="5" style="text-align: center"><a onclick="showdiv(\'year\');doane(event)" title="点击选择年份"><span id="year"

        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