Results 1 to 2 of 2

Thread: open calendar control in new form

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870

    open calendar control in new form

    Hi

    I got this bit of code from 4 guys from rolla website

    Code:
    <form name="frmCalendar">
       <input name="txtDate" type="text" />
       <a href="javascript:calendar_window=window.open('/calendar.aspx?formname=frmCalendar.txtDate','calendar_window','width=154,height=188');calendar_window.focus()">
          Calendar
       </a> 
    </form>
    How do i get this to work in code behind as i want it to open the new window when i click on an asp.net button.

    Many thanks
    Nick
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    The Time Tracker Starter Kit here has that implementation, probably look there:
    http://www.asp.net/Default.aspx?tabindex=9&tabid=47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width