Straight from the asp.net tutorials...
This WORKS in Netscape - giving me a VB message box just fine.
But how? I thought VBscript only ran in IE?
Is this new .net stuff going to solve my x-browser problems?
Just a brief explanation would be great!
Thanks!
<html>
<script language="VB" runat="server">
Sub Page_Load(Sender As Object, E As EventArgs)
Message.Text = "You last accessed this page at: " & DateTime.Now
End Sub
</script>
<body>
<h3><font face="Verdana">Manipulating Server Controls</font></h3>
This sample demonstrates how to manipulate the <asp:label> server control within
the Page_Load event to output the current time.
<p>
<hr>
<asp:label id="Message" font-size="24" font-bold="true" runat=server/>
</body>
</html>
This WORKS in Netscape - giving me a VB message box just fine.
But how? I thought VBscript only ran in IE?
Is this new .net stuff going to solve my x-browser problems?
Just a brief explanation would be great!
Thanks!
<html>
<script language="VB" runat="server">
Sub Page_Load(Sender As Object, E As EventArgs)
Message.Text = "You last accessed this page at: " & DateTime.Now
End Sub
</script>
<body>
<h3><font face="Verdana">Manipulating Server Controls</font></h3>
This sample demonstrates how to manipulate the <asp:label> server control within
the Page_Load event to output the current time.
<p>
<hr>
<asp:label id="Message" font-size="24" font-bold="true" runat=server/>
</body>
</html>