PDA

Click to See Complete Forum and Search --> : open calendar control in new form


nswan
Feb 22nd, 2004, 03:43 PM
Hi

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


<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_windo w.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

hellswraith
Feb 22nd, 2004, 04:42 PM
The Time Tracker Starter Kit here has that implementation, probably look there:
http://www.asp.net/Default.aspx?tabindex=9&tabid=47