a PostBack when pressed (I want to execute client-side JS instead).
I inserted the following into the SelectWeekText property:
<img src='arrow.jpg' onclick='javascript:alert("hello from weekselector")'>
The html that gets rendered is then:
<tr>
<td align="Center"><a href="javascript:__doPostBack('Calendar1','R173007 ')"
<img src='arrow.jpg' onclick='javascript:alert("hello from
weekselector")'></a></td>
<td align="Center"><a href="javascript:__doPostBack('Calendar1','1730')"
style="color:#CC9966">26</a></td>
<td align="Center" ><a href="javascript:__doPostBack('Calendar1','1731')"
style="color:#CC9966">27</a></td>
....
When I click on the selector it will execute my JS first, but then performs
the PostBack. How can I remove/nullify the PostBack? Or any other approaches
to this?
Of course just setting SelectionMode to 'Day' will not work, because then it
doesn't show the week selector at all.
Thanks,
Paul.