la pagina si carica correttamente, ma la parte in blue non funziona...
cosa ho sbagliato?
già ke ci siamo.. avrei potuto dare i colori in formato esadecimale anzikè Black e White (#000000 e #ffffff)?codice:<%@ Page Language="VB" AutoEventWireup="True" %> <html> <head> <script language="VB" runat="server"> Sub Page_Load(src As Object, e As EventArgs) lblInfo.Text = "loaded" End Sub Private Sub DayRender(src As Object, e As DayRenderEventArgs) Handles Calendario.DayRender If e.Day.IsOtherMonth = True Then e.Cell.BackColor = System.Drawing.Color.LightGrey End If End Sub </script> <title>My Calendar</title> <link rel="stylesheet" href="style.css" content="text/css"> </head> <body> <form id="pageform" runat="server"> <asp:Calendar runat="server" id="Calendario" DayNameFormat="FirstLetter" FirtsDayOfWeek="Monday" NextMonthText=">" PrevMonthText="<" TitleFormat="MonthYear"> <TodayDayStyle CssClass="oggi" /> <TitleStyle CssClass="title" /> </asp:Calendar> <asp:Label runat="server" id="lblInfo" /> </form> </body> </html>
grazie mille a tt quanti!
![]()