Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The following is my master page code.where i use updatepanel in my master page

XML
<%@ Master Language="VB" AutoEventWireup="true" CodeFile="Site.master.vb" Inherits="SiteMaster" %>

<!DOCTYPE html>

<html lang="en">
<head runat="server">
    <meta charset="utf-8" />

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="Content/menu/styles.css">
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
    <script src="Content/menu/script.js"></script>
    <title><%: Page.Title %> - Ajey Kamat : Educator and Mentor Assisting Students For Career in India and Abroad</title>

    <asp:PlaceHolder runat="server">
        <%: Scripts.Render("~/bundles/modernizr") %>
    </asp:PlaceHolder>
    <webopt:BundleReference runat="server" Path="~/Content/css" />
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />

</head>
<body>
    <form runat="server">
        <asp:ScriptManager runat="server">
            <Scripts>
                <%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=301884 --%>
                <%--Framework Scripts--%>
                <asp:ScriptReference Name="MsAjaxBundle" />
                <asp:ScriptReference Name="jquery" />
                <asp:ScriptReference Name="bootstrap" />
                <asp:ScriptReference Name="respond" />
                <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
                <asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
                <asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
                <asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
                <asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
                <asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
                <asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
                <asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
                <asp:ScriptReference Name="WebFormsBundle" />
                <%--Site Scripts--%>
            </Scripts>
        </asp:ScriptManager>

        <script type="text/javascript">
            $(window).scroll(function () {
                if ($(this).scrollTop() == 0) {
                    $('.navbar-inverse').css({
                        'box-shadow': 'none',
                        '-moz-box-shadow': 'none',
                        '-webkit-box-shadow': 'none'
                    });
                }
                else {
                    $('.navbar-inverse').css({
                        'box-shadow': '0px 1px 20px #0b9ff3',
                        '-moz-box-shadow': '0px 1px 20px #0b9ff3',
                        '-webkit-box-shadow': '0px 1px 20px #0b9ff3'
                    });
                }
            });
        </script>

        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="header-bar">
                <img src="../img/Ajey kamat1.png" />
            </div>
            <div class="container">


                <div id='cssmenu'>

                    <ul>
                        <li><a id="A1" runat="server" href="~/">Home</a></li>
                        <li>
                            <a id="A2" runat="server" href="#">Study Abroad</a>
                            <ul>
                                <li><a href="Abroad_Mbbs.aspx">M.B.B.S.Abroad</a></li>

                                <%--<li><a href="Abroad_Others.aspx">Others</a></li>--%>
                            </ul>

                        </li>
                        <li><a id="A3" runat="server" href="#">Scholarships</a>
                            <ul>
                                <li><a href="Scholarship_national.aspx">National</a></li>

                                <li><a href="Scholarship_international.aspx">International</a></li>
                            </ul>
                        </li>
                        <li><a id="A4" runat="server" href="~/Questions.aspx">Mock Test</a></li>
                        <li><a id="A5" runat="server" href="~/Register">Register</a></li>

                        <li><a id="A6" runat="server" href="~/Contact">Contact</a></li>
                    </ul>



                </div>
            </div>
        </div>
        <div class="container body-content">
            <asp:ContentPlaceHolder ID="MainContent" runat="server">
            </asp:ContentPlaceHolder>

            <footer>
                <div class="footer_body">
                    <div class="body_content">
                        <a href="http://www.ebusinessservices.in" target="_blank">
                            <h3><strong>Powered by </strong>eBusiness Services</h3>
                        </a>
                    </div>
                </div>

            </footer>


        </div>
    </form>
</body>
</html>
Posted
Comments
Manoj Sawant 27-May-15 6:58am    
Please specify your question in brief.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900