将.net日历控件拖入页面,显示出来后头显示的是当前年月:如2005年1月
怎么样把这个头做个链接?点击后就跳走。谢谢。

解决方案 »

  1.   

    在aspx中加入
    <a href="指定跳转的页面">控件生成的text</a>
      

  2.   

    不是这个意思啊,呵呵
    生成的html是这样的:<table cellspacing="0" border="0" style="color:White;font-family:Verdana;font-size:8pt;width:100%;border-collapse:collapse;">
    <tr>
    <td valign="Bottom" style="height:18px;width:15%;">
    <a href="javascript:__doPostBack('myCalendar','V1796')" style="color:White">
    <img src="images/index_right03.jpg" border=0</a>
    </td><td nowrap="nowrap" align="Center" style="width:70%;">2005年1月</td><td align="Right" valign="Bottom" style="height:18px;width:15%;">
    <a href="javascript:__doPostBack('myCalendar','V1858')" style="color:White">
    <img src="images/index_right04.jpg" border=0></a>
    </td>
    </tr>
    </table>熟悉.net日历控件的兄弟给看一下,是不是在.cs中加?谢谢。