Friday, March 16, 2012

open calendar control in new form

Hi

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

<form name="frmCalendar">
<input name="txtDate" type="text" />
<a href="http://links.10026.com/?link=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
NickThe Time Tracker Starter Kit here has that implementation, probably look there:
http://www.asp.net/Default.aspx?tabindex=9&tabid=47

0 comments:

Post a Comment