|
 |
aspx thread: Something wrong with the calendar control
Message #1 by "Norman" <tse_norman@y...> on Fri, 20 Dec 2002 21:58:23
|
|
Dear friends,
I have a very basic aspx script copy from example in microsoft.com. It
works fine in my local machine, brinkster.com, dotnetplayground.com. I
encountered a problem when I upload it to webmatrixhosting.net and I got a
lot of ?? in the titles as well as name of the day. Can anyone tell me
what's wrong?
Thanks
Codes has following:
<html>
<head>
<script language="VB" runat="server">
Sub Date_Selected(sender As Object, e As EventArgs)
Label1.Text = "Selected date is: " +
Calendar1.SelectedDate.ToShortDateString
End Sub
</script>
</head>
<body>
<h3><font face="Verdana">Calendar Example</font></h3>
<form runat=server>
<asp:Calendar id=Calendar1 onselectionchanged="Date_Selected"
runat="server" />
<p>
<asp:Label id=Label1 runat="server" />
</form>
</body>
</html>
Message #2 by "Rodney Majola" <MajolaR@a...> on Mon, 30 Dec 2002 12:52:15 +0200
|
|
My initial guess would be the character set it's trying to use. Have a
look at the resulting(client) HTML and have a investigate the character
set it's trying to render.
Rodney Majola
Software Developer
ApplyIT (Pty) Ltd
Unit 3 NDS House
9 The Boulevard
Westway Office Park
Westway
3635
majolar@a...
Tel: (xxx) xxx xxxx
Fax: (xxx) xxx xxxx
-----Original Message-----
From: Norman [mailto:tse_norman@y...]
Sent: 20 December 2002 11:58 PM
To: ASP.NET
Subject: [aspx] Something wrong with the calendar control
Dear friends,
I have a very basic aspx script copy from example in microsoft.com. It
works fine in my local machine, brinkster.com, dotnetplayground.com. I
encountered a problem when I upload it to webmatrixhosting.net and I got
a
lot of ?? in the titles as well as name of the day. Can anyone tell me
what's wrong?
Thanks
Codes has following:
<html>
<head>
<script language=3D"VB" runat=3D"server">
Sub Date_Selected(sender As Object, e As EventArgs)
Label1.Text =3D "Selected date is: " +
Calendar1.SelectedDate.ToShortDateString
End Sub
</script>
</head>
<body>
<h3><font face=3D"Verdana">Calendar Example</font></h3>
<form runat=3Dserver>
<asp:Calendar id=3DCalendar1
onselectionchanged=3D"Date_Selected"
runat=3D"server" />
<p>
<asp:Label id=3DLabel1 runat=3D"server" />
</form>
</body>
</html>
|
|
 |