I have an ASP.Net Calendar. I'd like the Calendar to display the dates without the hyperlink and when the user hovers a date it should show the hyperlink. I tried CSS it didnt work, i tried coding it in the Day_Render event, that didnt work either.
This is the code:
Protected Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.
DayRenderE
ventArgs) Handles Calendar1.DayRender
e.Cell.Style.Add("textDeco
ration", "none")
End Sub
the rendered html:
</td><td class="calendar" align="center" style="color:DarkGray;font
-size:7.5p
t;width:14
%;textDeco
ration:non
e;"><a href="javascript:__doPostB
ack('Calen
dar1','306
8')" style="color:DarkGray" title="May 26">26</a>
Start Free Trial