Hi
Below is the Layout file
<!DOCTYPE html>
@{
if (!User.Identity.IsAuthenticated)
{
Context.Response.Redirect(Url.Action("Login", "Home"));
}
}
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<script>
function Reset(formId) {
document.getElementById(formId).reset();
}
</script>
@*<script>
document.write("Hello World!")
</script>
<noscript>Your browser does not support JavaScript!</noscript>*@
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.7 -->
<link rel="stylesheet" href="~/components/bootstrap/dist/css/bootstrap.css">
<link href="~/components/BootstrapValidator/dist/css/bootstrapValidator.min.css" rel="stylesheet" />
<!-- Font Awesome -->
<link rel="stylesheet" href="~/components/font-awesome/css/font-awesome.css">
<!-- DataTables -->
<link rel="stylesheet" href="~/components/datatables.net-bs/css/dataTables.bootstrap.css">
<link rel="stylesheet" href="https://www.jqueryscript.net/demo/Simple-Flexible-jQuery-Alert-Notification-Plugin-notify-js/css/notify.css" />
<link rel="stylesheet" href="~/dist/css/AdminLTE.css">
<link rel="stylesheet" href="~/dist/css/skins/_all-skins.css">
<link href="~/components/Site.css" rel="stylesheet" />
<script src="~/components/jquery/dist/jquery-2.1.1.min.js"></script>
<script src="~/components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="~/components/BootstrapValidator/dist/js/bootstrapValidator.min.js"></script>
<script src="~/components/jquery/dist/jquery.validate.min.js"></script>
<script src="~/components/jquery/dist/jquery.validate.unobtrusive.min.js"></script>
<script src="~/components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="~/components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="../../index2.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>A</b>LT</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Invoicing</b> Software</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<li class="dropdown user user-menu">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
@*<img src="images/img.jpg" alt="">*@
<b>@HttpContext.Current.User.Identity.Name</b>
<span class="fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="javascript:;"> Profile</a></li>
<li>
<a href="javascript:;">
<span class="badge bg-red pull-right">50%</span>
<span>Settings</span>
</a>
</li>
<li><a href="javascript:;">Help</a></li>
<li><a href="/Home/Logout"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>
</ul>
<!-- Control Sidebar Toggle Button -->
<li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- search form -->
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<button type="submit" name="search" id="search-btn" class="btn btn-primary">
<i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu" data-widget="tree">
<li class="header">MAIN NAVIGATION</li>
<li class="treeview">
<a href="#">
<i class="fa fa-edit"></i> <span>Administration</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="@Url.Action("Index", "User")"><i class="fa fa-circle-o"></i> Maintain User</a></li>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-edit"></i> <span>Masters</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="@Url.Action("Index", "Location")"><i class="fa fa-circle-o"></i> Maintain Location</a></li>
<li><a href="@Url.Action("Index", "Product")"><i class="fa fa-circle-o"></i> Maintain Product</a></li>
<li><a href="@Url.Action("Index", "Customer")"><i class="fa fa-circle-o"></i> Maintain Customer</a></li>
@*<li><iframe id="if1" width="100%" height="254" style="visibility:visible" src="http://jagjit/ReportServer_NAVDEMO/Report1"></iframe> </li>*@
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-folder"></i> <span>Transactions</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="@Url.Action("Index", "Invoice")"><i class="fa fa-circle-o"></i> Maintain PADI </a></li>
</ul>
<ul class="treeview-menu">
<li><a href="@Url.Action("Index", "Ordr")"><i class="fa fa-circle-o"></i> Maintain PADI </a></li>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-folder"></i> <span>Reports</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
@*<li><a href="@Url.Action("ReportTemplate", "Report", new { ReportName = "Report1", ReportDescription = "Performance Report"})"><i class="fa fa-circle-o"></i> G/l Ledger</a></li>*@
<li><a href="@Url.Action("ReportTemplate", "Report", new { ReportName = "Report1", ReportDescription = "Performance Report", Width = 100, Height = 650 })"><i class="fa fa-circle-o"></i> G/l Ledger</a></li>
</ul>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Main content -->
<section class="content">
@RenderBody()
</section>
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">
<strong>Copyright © 2021-2022 <a href="#">AdminLTE</a>.</strong> All rights
reserved.
</footer>
</div>
<!-- ./wrapper -->
<script src="~/dist/js/adminlte.min.js"></script>
<script src="~/components/notify.min.js"></script>
<div id="divData"></div>
</body>
</html>
<div class="modal fade bs-example-modal-sm" id="msgModal" tabindex="-1" role="dialog" aria-labelledby="errorLabel" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title" id="msgLabel">Message</h2>
</div>
<div class="modal-body" id="msgModalBody">
<p></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
Thanks