0% found this document useful (0 votes)
5 views1 page

HTML Sayfa2

This document is an ASP.NET web page that includes a form for user login with fields for username and password. It features JavaScript functions to change the background color of the password input field when it is selected or deselected. The page also contains server-side controls such as labels and buttons for user interaction.

Uploaded by

m0nst3rs737
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

HTML Sayfa2

This document is an ASP.NET web page that includes a form for user login with fields for username and password. It features JavaScript functions to change the background color of the password input field when it is selected or deselected. The page also contains server-side controls such as labels and buttons for user interaction.

Uploaded by

m0nst3rs737
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Sayfa2BK.aspx.

cs"
Inherits="Sayfa2BK" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
.auto-style1 {
width: 1276px;
}
</style>
<script>
function renkDegisSecili(obje) {
obje.style.background = "blue";
}
function renkDegisSeciliDegil(obje) {
obje.style.background = "white";
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="width:100%;">
<tr>
<td class="auto-style1">
<asp:Label ID="lblKullaniciAdi"
runat="server"></asp:Label>
</td>
<td>
<asp:Label ID="lblSifre" runat="server"></asp:Label>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">
<asp:TextBox ID="txtKullAdi"
runat="server"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="txtSifre" runat="server" onClick
="renkDegisSecili(this)" onBlur = "renkDegisSeciliDegil(this)" ></asp:TextBox>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">
<asp:Button ID="butGiris" runat="server" Width="225px"
OnClick="butGiris_Click" />
</td>
<td>
<asp:Label ID="lblMesaj" runat="server"></asp:Label>
</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
</form>
</body>
</html>

You might also like