Aynı sorunu bende alıyorum buradaki adımları takip ettim ama hala sorun bulunmaktad.Yardımcı olabilir misiniz?
MASTERPAGE SAYFAM:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Matematik.master.cs" Inherits="MatematikselIslemler.Matematik" %>
<!DOCTYPE html>
<html>
<head>
<title>Matematik</title>
<style>
body {
margin: 0;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
width: 25%;
background-color: #f1f1f1;
position: fixed;
height: 100%;
overflow: auto;
}
li a {
display: block;
color: #000;
padding: 8px 16px;
text-decoration: none;
}
li a.active {
background-color: #04AA6D;
color: white;
}
li a:hover:not(.active) {
background-color: #555;
color: white;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div class="active" runat="server">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
<ul>
<li><a class="active" href="default.aspx">Anasayfa</a></li>
<li><a href="DortIslem.aspx">Dört İşlem</a></li>
<li><a href="HarfSay.aspx">Harf Say</a></li>
<li><a href="OrtalamaHesap.aspx">Ortalama Hesap</a></li>
</ul>
<div style="margin-left:25%;padding:1px 16px;height:1000px;" runat="server">
<h2>MATEMATİKSEL İŞLEMLER</h2>
<h3>Bazı basit matematik işlemlerini asp.net ile uygulama yapacağız.</h3>
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
</asp:ContentPlaceHolder>
</div>
</body>
</html>
DortIslem.aspx sayfam:
<%@ Page Title="" Language="C#" MasterPageFile="~/Matematik.Master" AutoEventWireup="true" CodeBehind="DortIslem.aspx.cs" Inherits="MatematikselIslemler.DortIslem" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<form id="Form2" runat="server">
<div class="form-group">
<table style="width: 100%">
<tr>
<td style="width: 120px">
<asp:Label for="Textbox1" runat="server" Text="Sayı:"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server" Height="16px" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 120px; height: 26px">
<asp:Label for="TextBox2" runat="server" Text="Sayı:"></asp:Label>
</td>
<td style="height: 26px">
<asp:TextBox ID="TextBox2" runat="server" Height="16px" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 120px">
<asp:Label for="TextBox3" runat="server" Text="Sonuç:"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox3" runat="server" Height="16px" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 120px; height: 33px">
<asp:Button ID="Button1" runat="server" Text="Topla" Width="124px" />
</td>
<td style="height: 33px">
<asp:Button ID="Button2" runat="server" Text="Çıkar" Width="124px" />
</td>
</tr>
<tr>
<td style="width: 120px">
<asp:Button ID="Button3" runat="server" Text="Çarp" Width="124px" />
</td>
<td>
<asp:Button ID="Button4" runat="server" Text="Böl" Width="124px" />
</td>
</tr>
</table>
</div>
</form>
</asp:Content>