Merhaba Metronic admin temasını Visual Studio 2013 de başlattığım projede kullanmak istiyorum. Bunun için bir tane .master sayfası ekledim ve temada ki kodları master sayfama gereksiz alanları çıkararak ekledim.
Takıldığım nokta master page yi kullanan bir sayfa eklediğimde sayfaya eklediğim textbox, button vb. araçlar web alanımda göstermiyor. Tahminime göre <asp:ContentPlaceHolder ID="MainContent" runat="server"> </asp:ContentPlaceHolder> lardan kaynaklanıyor fakat durumu çözemedim.
Yardımcı olabilirseniz çok memnun olurum. Kod aşağıda sunulmuştur.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> Müşteri Bakım Takip Programı <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css" /> <link href="assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <link href="assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" /> <link href="assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css" /> <link href="assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" /> <!-- END GLOBAL MANDATORY STYLES --> <!-- BEGIN PAGE LEVEL PLUGIN STYLES --> <link href="assets/global/plugins/gritter/css/jquery.gritter.css" rel="stylesheet" type="text/css" /> <link href="assets/global/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" /> <link href="assets/global/plugins/fullcalendar/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css" /> <link href="assets/global/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css" /> <!-- END PAGE LEVEL PLUGIN STYLES --> <!-- BEGIN PAGE STYLES --> <link href="assets/admin/pages/css/tasks.css" rel="stylesheet" type="text/css" /> <!-- END PAGE STYLES --> <!-- BEGIN THEME STYLES --> <link href="assets/global/css/components.css" rel="stylesheet" type="text/css" /> <link href="assets/global/css/plugins.css" rel="stylesheet" type="text/css" /> <link href="assets/admin/layout/css/layout.css" rel="stylesheet" type="text/css" /> <link href="assets/admin/layout/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color" /> <link href="assets/admin/layout/css/custom.css" rel="stylesheet" type="text/css" /> <!-- END THEME STYLES --> <link rel="shortcut icon" href="favicon.ico" /> <asp:ContentPlaceHolder ID="HeadContent" runat="server"> </asp:ContentPlaceHolder> </head> <!-- END HEAD --> <!-- BEGIN BODY --> <!-- DOC: Apply "page-header-fixed-mobile" and "page-footer-fixed-mobile" class to body element to force fixed header or footer in mobile devices --> <!-- DOC: Apply "page-sidebar-closed" class to the body and "page-sidebar-menu-closed" class to the sidebar menu element to hide the sidebar by default --> <!-- DOC: Apply "page-sidebar-hide" class to the body to make the sidebar completely hidden on toggle --> <!-- DOC: Apply "page-sidebar-closed-hide-logo" class to the body element to make the logo hidden on sidebar toggle --> <!-- DOC: Apply "page-sidebar-hide" class to body element to completely hide the sidebar on sidebar toggle --> <!-- DOC: Apply "page-sidebar-fixed" class to have fixed sidebar --> <!-- DOC: Apply "page-footer-fixed" class to the body element to have fixed footer --> <!-- DOC: Apply "page-sidebar-reversed" class to put the sidebar on the right side --> <!-- DOC: Apply "page-full-width" class to the body element to have full width page without the sidebar menu --> <body class="page-header-fixed page-quick-sidebar-over-content"> <!-- BEGIN HEADER --> <div class="page-header navbar navbar-fixed-top"> <!-- BEGIN HEADER INNER --> <div class="page-header-inner"> <!-- BEGIN LOGO --> <div class="page-logo"> <a href="index.html"> <img src="../assets/admin/layout/img/logo.png" alt="logo" class="logo-default" /> </a> <div class="menu-toggler sidebar-toggler hide"> <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header --> </div> </div> <!-- END LOGO --> <!-- BEGIN RESPONSIVE MENU TOGGLER --> <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=110340143&url=javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse" data-href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"></a> <!-- END RESPONSIVE MENU TOGGLER --> <!-- BEGIN TOP NAVIGATION MENU --> <div class="top-menu"> <ul class="nav navbar-nav pull-right"> <!-- BEGIN NOTIFICATION DROPDOWN --> <!-- END NOTIFICATION DROPDOWN --> <!-- BEGIN INBOX DROPDOWN --> <!-- END INBOX DROPDOWN --> <!-- BEGIN TODO DROPDOWN --> <!-- END TODO DROPDOWN --> <!-- BEGIN USER LOGIN DROPDOWN --> <li class="dropdown dropdown-user"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true"> <img alt="" class="img-circle hide1" src="../../assets/admin/layout/img/avatar3_small.jpg" /> <span class="username username-hide-on-mobile">Bob </span> <i class="fa fa-angle-down"></i> </a> <ul class="dropdown-menu"> <li> <a href="extra_profile.html"> <i class="icon-user"></i>My Profile </a> </li> <li> <a href="page_calendar.html"> <i class="icon-calendar"></i>My Calendar </a> </li> <li> <a href="inbox.html"> <i class="icon-envelope-open"></i>My Inbox <span class="badge badge-danger">3 </span> </a> </li> <li> <a href="#"> <i class="icon-rocket"></i>My Tasks <span class="badge badge-success">7 </span> </a> </li> <li class="divider"></li> <li> <a href="extra_lock.html"> <i class="icon-lock"></i>Lock Screen </a> </li> <li> <a href="login.html"> <i class="icon-key"></i>Log Out </a> </li> </ul> </li> <!-- END USER LOGIN DROPDOWN --> <!-- BEGIN QUICK SIDEBAR TOGGLER --> <!-- END QUICK SIDEBAR TOGGLER --> </ul> </div> <!-- END TOP NAVIGATION MENU --> </div> <!-- END HEADER INNER --> </div> <!-- END HEADER --> <div class="clearfix"> </div> <!-- BEGIN CONTAINER --> <div class="page-container"> <!-- BEGIN SIDEBAR --> <div class="page-sidebar-wrapper"> <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing --> <!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed --> <div class="page-sidebar navbar-collapse collapse"> <!-- BEGIN SIDEBAR MENU --> <ul class="page-sidebar-menu" data-auto-scroll="true" data-slide-speed="200"> <!-- DOC: To remove the sidebar toggler from the sidebar you just need to completely remove the below "sidebar-toggler-wrapper" LI element --> <li class="sidebar-toggler-wrapper"> <!-- BEGIN SIDEBAR TOGGLER BUTTON --> <div class="sidebar-toggler"> </div> <!-- END SIDEBAR TOGGLER BUTTON --> </li> <!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element --> <li class="sidebar-search-wrapper"> <!-- BEGIN RESPONSIVE QUICK SEARCH FORM --> <!-- DOC: Apply "sidebar-search-bordered" class the below search form to have bordered search box --> <!-- DOC: Apply "sidebar-search-bordered sidebar-search-solid" class the below search form to have bordered & solid search box --> <form class="sidebar-search " action="extra_search.html" method="POST"> <a href="javascript:;" class="remove"> <i class="icon-close"></i> </a> <div class="input-group"> <input type="text" class="form-control" placeholder="Arama..."> <span class="input-group-btn"> <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=110340143&url=javascript:;" class="btn submit" data-href="javascript:;" class="btn submit"><i class="fa fa-search"></i></a> </span> </div> </form> <!-- END RESPONSIVE QUICK SEARCH FORM --> </li> <li class="start active open"> <a href="javascript:;"> <i class="fa fa-home"></i> <span class="title">Dashboard</span> <span class="selected"></span> <span class="arrow open"></span> </a> <ul class="sub-menu"> <li class="active"> <a href="index.html"> <i class="fa fa-angle-right"></i> Default Dashboard</a> </li> </ul> </li>