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