visual studio and aspx files

G

Guest

Hello!

I have opened a aspx file with visual studio. I see a yellow line and the
run etc buttons grayed out. Why is that?

Regards
Bruno

x---------------------
<%@ Page Language="VB" Debug="True" %>
<script runat="server">

Sub Page_Load(ByVal Sender As Object, ByVal E As EventArgs)
If Not IsPostBack Then
btnImage.src = "test1.bmp"
Else
btnImage.src = "test2.bmp"
End If
End Sub

</script>
<html>
<head>
</head>
<body>
<form runat="server">
<p>
<input id="btnImage" style="WIDTH: 78px; HEIGHT: 58px"
type="image" size="5" runat="server" />
</p>
</form>
</body>
</html>
x------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top