Lemonde
  • Lemonde
  • 100% (Exalted)
  • Advanced Member Topic Starter
4 years ago
How can I get me Masterpage.Master to inherit the property from the default.aspx page?<br /><br />I want to be able to use <%: Page.Title %> in text that will change in the master page area navigation with each aspx web page selected<div class="alert alert-secondary mt-1" role="alert"> <i class="fa fa-edit fa-fw text-secondary"></i>Edited by user  <abbr class="timeago" title="20 June 2020 12:50:44" data-bs-toggle="tooltip" data-bs-html="true">4 years ago</abbr>  | <em>Reason: Solved, thanks</em> </div> <hr /><div class="card border-light-subtle card-message-signature"><div class="card-body py-0"><a rel="nofollow" href="https://store.sircles.net" title="https://store.sircles.net">Refurbished Computers Berkshire <i class="fa fa-external-link-alt fa-fw"></i></a> <br /><a rel="nofollow" href="https://www.sircles.net" title="https://www.sircles.net">Data Recovery Berkshire <i class="fa fa-external-link-alt fa-fw"></i></a></div></div></div> </div> <div id="forum_ctl03_MessageList_ctl00_DisplayPost1_ContextMenu" class="dropdown-menu context-menu" aria-labelledby="context menu" data-copy="Copy Selected Text" data-search="Search Google for ..."> <a Id="forum_ctl03_MessageList_ctl00_DisplayPost1_ctl05" Name="forum$ctl03$MessageList$ctl00$DisplayPost1$ctl05" Class=" dropdown-item" role="button" href="/Search?postedby=Lemonde" aria-label="th-list"><i class="fa fa-th-list fa-fw"></i><span Class="ms-1">View All Posts by User</span></a><div class="dropdown-divider"> </div> </div> </div> </div> </div> </div> </div> </div> <div class="row"> <div class="col-xl-12"> <div class="card text-light-emphasis bg-light-subtle mb-3"> <div class="card-body"> <div class="row"> <div class="col"> <span class="<badge text-bg-warning"> Sponsor </span> <div id="0" class="selectionQuoteable"><h3>Want to thank us? Use: <a href="https://www.patreon.com/sircles">Patreon </a> or <a href="https://paypal.me/sirclesnet?locale.x=en_GB">PayPal </a> or Bitcoins:<I> bc1q4whppe29dw77rm4kv4pln0gqae4yjnxly0dny0hky6yhnafukzjsyrsqhk</I></h3> <h4>All opinions expressed within these pages are sent in by members of the public or by our staff in their spare time, and as such do not represent any opinion held by sircles.net Ltd or their partners.</h4><hr /><div class="card border-light-subtle card-message-signature"><div class="card-body py-0"></div></div></div> </div> </div> </div> </div> </div> </div> <div class="row"> <div class="col"> <Div Class="text-break alert alert-warning alert-dismissible fade show" role="alert"> <strong>Wanna join the discussion?! </strong><a Id="forum_ctl03_MessageList_ctl00_DisplayConnect_ctl02" Name="forum$ctl03$MessageList$ctl00$DisplayConnect$ctl02" Class=" LoginLink alert-link" title="Login" role="button" href="javascript:void(0);"><span Class="ms-1">Login to your PC & Mac Help and Assistance forum account</span></a><a Id="forum_ctl03_MessageList_ctl00_DisplayConnect_ctl03" Name="forum$ctl03$MessageList$ctl00$DisplayConnect$ctl03" Class=" alert-link" title="Register" role="button" href="/RulesAndPrivacy"><span Class="ms-1">or Register a new forum account</span></a> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button></Div> </div> </div> <div id="forum_ctl03_MessageList_ctl01_DisplayPost1_MessageRow" class="collapse show"> <div class="row"> <div class="col-xl-12"> <div class="card mb-3"> <div class="card-header py-1 px-2"> <div class="d-flex"> <div class="me-2"> <img id="forum_ctl03_MessageList_ctl01_DisplayPost1_Avatar" title="sirclesadmin" class="img-avatar-sm mt-2" src="/resource.ashx?avatar=2" alt="sirclesadmin" /> </div> <div> <ul class="list-inline"> <li class="list-inline-item"> <a href="/UserProfile/2-sirclesadmin" title="View profile" rel="nofollow" Id="forum_ctl03_MessageList_ctl01_DisplayPost1_UserProfileLink" Class="btn-sm"><Span Class="align-middle text-danger user-offline me-1" Title="User is Offline"><i class="fas fa-user-circle" style="font-size: 1.5em"></i></Span>sirclesadmin</a> </li> <li class="list-inline-item d-none d-md-inline-block" style="width:150px"> <div class="progress"> <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width:100%;" aria-valuenow="100" aria-valuemax="100"> 100% (Exalted) </div> </div> </li> <li class="list-inline-item d-block"> <span class="badge text-bg-secondary">Administration</span> </li> </ul> </div> </div> </div> <div class="card-body pt-0"> <div class="d-flex justify-content-between border-bottom mb-3"> <div> <Span Class="fa-stack me-1"><I Class="fas fa-calendar-day fa-stack-1x text-secondary"></I><I Class="fa fa-clock fa-badge text-secondary"></I></Span> <abbr class="timeago" title="19 June 2020 12:40:44" data-bs-toggle="tooltip" data-bs-html="true">4 years ago</abbr> </div> <div> <a id="post2656" href="/Posts/m2656-Make-masterpage-master-inherit-page-title-from-VB-website"> #2 </a> </div> </div> <div id="forum_ctl03_MessageList_ctl01_DisplayPost1_MessagePanel" class="message"> <div id="forum_ctl03_MessageList_ctl01_DisplayPost1_panMessage" class="col"> <div id="2656" class="selectionQuoteable">Go to the cs/vb code page of each aspx content page, and in the {} brackets enter:<br /><br />Page.Title = "page title";<br /><br />and save and test.<br /><br />Now using <%: Page.Title %> in your master page should substitute the content page title<div class="alert alert-secondary mt-1" role="alert"> <i class="fa fa-edit fa-fw text-secondary"></i>Edited by user  <abbr class="timeago" title="19 June 2020 12:50:24" data-bs-toggle="tooltip" data-bs-html="true">4 years ago</abbr>  | <em>Reason: Not specified</em> </div> <hr /><div class="card border-light-subtle card-message-signature"><div class="card-body py-0"><a rel="nofollow" href="https://www.BerkshireComputerSupport.co.uk" title="https://www.BerkshireComputerSupport.co.uk">IT Support Berkshire <i class="fa fa-external-link-alt fa-fw"></i></a><br /><a rel="nofollow" href="https://store.sircles.net" title="https://store.sircles.net">Buy new and refurbished computer equipment <i class="fa fa-external-link-alt fa-fw"></i></a></div></div></div> </div> <div id="forum_ctl03_MessageList_ctl01_DisplayPost1_ContextMenu" class="dropdown-menu context-menu" aria-labelledby="context menu" data-copy="Copy Selected Text" data-search="Search Google for ..."> <a Id="forum_ctl03_MessageList_ctl01_DisplayPost1_ctl05" Name="forum$ctl03$MessageList$ctl01$DisplayPost1$ctl05" Class=" dropdown-item" role="button" href="/Search?postedby=sirclesadmin" aria-label="th-list"><i class="fa fa-th-list fa-fw"></i><span Class="ms-1">View All Posts by User</span></a><div class="dropdown-divider"> </div> </div> </div> </div> </div> </div> </div> </div> <div class="row mb-3 d-flex justify-content-between"> <div class="col-md-4"> </div> <div class="col-md-8 mt-1 mt-md-0"> <div class="d-flex justify-content-end flex-wrap"> <div class="dropdown-menu dropdown-menu-end" aria-labelledby="forum_ctl03_Tools1"> </div> </div> </div> </div> <div class="row mb-3"> <div class="col-md-6"> <div class="card mb-3"> <div class="card-header"> Similar Topics </div> <ul class="list-group list-group-flush"> <li class="list-group-item"> <a href="/Posts/t2197-identifying-companies-on-a-website-from-their-IP-addresses"> <strong>identifying companies on a website from their IP addresses</strong> </a> (<a href="/Topics/42-Websites and Apps">Websites and Apps</a>) by <a href="/UserProfile/1738-lucasaid" title="View profile" rel="nofollow" Id="forum_ctl03_SimilarTopics_Topics_ctl01_UserName" Class="btn-sm"><Span Class="align-middle text-danger user-offline me-1" Title="User is Offline"><i class="fas fa-user-circle" style="font-size: 1.5em"></i></Span>lucasaid</a> <span class="fa-stack"> <i class="fa fa-calendar-day fa-stack-1x text-secondary"></i> <i class="fa fa-clock fa-badge text-secondary"></i> </span> <abbr class="timeago" title="10/04/2024 22:31:56" data-bs-toggle="tooltip" data-bs-html="true">8 months ago</abbr> </li> <li class="list-group-item"> <a href="/Posts/t3209-Saving-website-as-HTML-breaks-dropdowns-when-using-from-a-URL"> <strong>Saving website as HTML breaks dropdowns when using from a URL</strong> </a> (<a href="/Topics/42-Websites and Apps">Websites and Apps</a>) by <a href="/UserProfile/1742-berkscompsltd" title="View profile" rel="nofollow" Id="forum_ctl03_SimilarTopics_Topics_ctl02_UserName" Class="btn-sm"><Span Class="align-middle text-danger user-offline me-1" Title="User is Offline"><i class="fas fa-user-circle" style="font-size: 1.5em"></i></Span>berkscompsltd</a> <span class="fa-stack"> <i class="fa fa-calendar-day fa-stack-1x text-secondary"></i> <i class="fa fa-clock fa-badge text-secondary"></i> </span> <abbr class="timeago" title="28/04/2024 12:10:13" data-bs-toggle="tooltip" data-bs-html="true">7 months ago</abbr> </li> <li class="list-group-item"> <a href="/Posts/t1404-How-do-I-remove-FaceBook-from-the-Google-Chrome-Startup-Page"> <strong>How do I remove FaceBook from the Google Chrome Startup Page?</strong> </a> (<a href="/Topics/42-Websites and Apps">Websites and Apps</a>) by <a href="/UserProfile/661-Lemonde" title="View profile" rel="nofollow" Id="forum_ctl03_SimilarTopics_Topics_ctl03_UserName" Class="btn-sm"><Span Class="align-middle text-danger user-offline me-1" Title="User is Offline"><i class="fas fa-user-circle" style="font-size: 1.5em"></i></Span>Lemonde</a> <span class="fa-stack"> <i class="fa fa-calendar-day fa-stack-1x text-secondary"></i> <i class="fa fa-clock fa-badge text-secondary"></i> </span> <abbr class="timeago" title="02/05/2020 04:44:41" data-bs-toggle="tooltip" data-bs-html="true">4 years ago</abbr> </li> <li class="list-group-item"> <a href="/Posts/t1807-Why-do-I-get-so-many-erroneous-website-hits-from-sygarsync"> <strong>Why do I get so many erroneous website hits from sygarsync?</strong> </a> (<a href="/Topics/42-Websites and Apps">Websites and Apps</a>) by <a href="/UserProfile/1698-drdread" title="View profile" rel="nofollow" Id="forum_ctl03_SimilarTopics_Topics_ctl04_UserName" Class="btn-sm"><Span Class="align-middle text-danger user-offline me-1" Title="User is Offline"><i class="fas fa-user-circle" style="font-size: 1.5em"></i></Span>drdread</a> <span class="fa-stack"> <i class="fa fa-calendar-day fa-stack-1x text-secondary"></i> <i class="fa fa-clock fa-badge text-secondary"></i> </span> <abbr class="timeago" title="26/03/2022 10:15:46" data-bs-toggle="tooltip" data-bs-html="true">2 years ago</abbr> </li> <li class="list-group-item"> <a href="/Posts/t2043-Can-I-Make-Money-Online-Without-Risk"> <strong>Can I Make Money Online Without Risk?</strong> </a> (<a href="/Topics/45-Making Money Online">Making Money Online</a>) by <a href="/UserProfile/1698-drdread" title="View profile" rel="nofollow" Id="forum_ctl03_SimilarTopics_Topics_ctl05_UserName" Class="btn-sm"><Span Class="align-middle text-danger user-offline me-1" Title="User is Offline"><i class="fas fa-user-circle" style="font-size: 1.5em"></i></Span>drdread</a> <span class="fa-stack"> <i class="fa fa-calendar-day fa-stack-1x text-secondary"></i> <i class="fa fa-clock fa-badge text-secondary"></i> </span> <abbr class="timeago" title="24/04/2023 18:17:04" data-bs-toggle="tooltip" data-bs-html="true">a year ago</abbr> </li> </ul> </div> </div> <div class="col"> <div class="card"> <div class="card-header"> Users browsing this topic </div> <div class="card-body"> <ul class="list-inline"></ul></div></div> </div> </div> <footer class="footer"><div class="text-end"><a title="Privacy Policy" href="/RulesAndPrivacy">Privacy Policy</a> | <a target="_blank" title="YetAnotherForum.NET" href="https://www.yetanotherforum.net">Powered by YAF.NET 3.2.7 </a> | <a target="_blank" title="YetAnotherForum.NET" href="https://www.yetanotherforum.net">YAF.NET © 2003-2024 YetAnotherForum.NET</a><br /><span class="text-body-secondary small">This page was generated in 0.221 seconds.</span></div></footer> <div class="alert alert-dismissible text-center cookiealert" role="alert"> <h4 class="alert-heading"> Important Information: </h4> <p> The PC & Mac Help and Assistance uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. <a Id="forum_ctl05_MoreDetails" Name="forum$ctl05$MoreDetails" Class="btn btn-link" role="button" href="/Cookies"><span Class="ms-1"> More Details</span></a> <a class="btn btn-primary" role="button" data-bs-dismiss="alert" aria-label="Close" onclick="addConsentCookie('YAF-AcceptCookies', 'true', 365)"> <I Class="fas fa-check-square fa-fw me-1"></I>Close </a> </p> </div><a Id="forum_ctl06_ScrollButton" Name="forum$ctl06$ScrollButton" Class="btn btn-outline-secondary btn-sm btn-scroll" role="button" href="javascript:__doPostBack('forum$ctl06$ScrollButton','')" aria-label="angle-double-up"><i class="fa fa-angle-double-up fa-fw"></i> </span></a></div></div> <script type="text/javascript"> //<![CDATA[ (function(){"use strict";window.addEventListener("load",function(){var form=document.forms[0];const test=document.getElementById("forum_ctl02_LoginButton");test.addEventListener("click",function(event){if(form.checkValidity()===false){event.preventDefault();event.stopPropagation();} form.classList.add("was-validated");},false);},false);})(); function ShowPopupDialogNotificationforum_YafForumPageErrorPopup1(newErrorStr,newErrorType,script){if(newErrorStr!=null&&newErrorStr!=""){var iconFA='';if(newErrorType=='warning'){iconFA='fa fa-exclamation-triangle';} else if(newErrorType=='danger'){iconFA='fa fa-exclamation-triangle';} else if(newErrorType=='info'){iconFA='fa fa-info-circle';} else if(newErrorType=='success'){iconFA='fa fa-check';} if(script!=null&&script!="") {$('.modal-backdrop').remove();$('#'+script).modal('show');} new Notify({title:"PC & Mac Help and Assistance",message:newErrorStr,icon:iconFA},{type:newErrorType,element:'body',position:null,placement:{from:'top',align:'center'},delay:30*1000});}} document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".LoginLink").forEach(button=>{button.addEventListener("click",()=>{const loginModal=new bootstrap.Modal(document.getElementById("LoginBox"));loginModal.show();});});}); function addThanks(messageId){fetch("/api/ThankYou/AddThanks/"+messageId,{method:"POST",headers:{"Accept":"application/json","Content-Type":"application/json;charset=utf-8"}}).then(res=>res.json()).then(response=>{document.getElementById('dvThanksInfo'+response.MessageID).innerHTML=response.ThanksInfo;document.getElementById('dvThankBox'+response.MessageID).innerHTML='<a class="btn btn-link" href="javascript:removeThanks('+response.MessageID+');" onclick="this.blur();" title='+response.Title+'><i class="far fa-heart fa-fw"></i><span class="ms-1 d-none d-lg-inline-block">'+response.Text+'</span></a>';document.querySelectorAll(".thanks-popover").forEach(pop=>{const popover=new bootstrap.Popover(pop,{template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body popover-body-scrollable"></div></div>'});});}).catch(function(error){errorLog(error);});} function removeThanks(messageId){fetch("/api/ThankYou/RemoveThanks/"+messageId,{method:"POST",headers:{"Accept":"application/json","Content-Type":"application/json;charset=utf-8"}}).then(res=>res.json()).then(response=>{document.getElementById("dvThanksInfo"+response.MessageID).innerHTML=response.ThanksInfo;document.getElementById("dvThankBox"+response.MessageID).innerHTML='<a class="btn btn-link" href="javascript:addThanks('+response.MessageID+');" onclick="this.blur();" title='+response.Title+'><i class="fas fa-heart text-danger fa-fw"></i><span class="ms-1 d-none d-lg-inline-block">'+response.Text+'</span></a>';}).catch(function(error){errorLog(error);});} function addConsentCookie(name,value,days){var expires;if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires="; expires="+date.toGMTString();}else{expires="";} document.cookie=encodeURIComponent(name)+"="+encodeURIComponent(value)+expires+"; path=/";} theForm.oldSubmit = theForm.submit; theForm.submit = WebForm_SaveScrollPositionSubmit; theForm.oldOnSubmit = theForm.onsubmit; theForm.onsubmit = WebForm_SaveScrollPositionOnSubmit; //]]> </script> </div></form> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2700737586273606" crossorigin="anonymous"></script> <!-- Default Statcounter code for sircles.net https://blog.sircles.net --> <script type="text/javascript"> var sc_project=1356649; var sc_invisible=1; var sc_security="9d852934"; </script> <script type="text/javascript" src="https://www.statcounter.com/counter/counter.js" async></script> <noscript><div class="statcounter"><a title="Web Analytics" href="https://statcounter.com/" target="_blank"><img class="statcounter" src="https://c.statcounter.com/1356649/0/9d852934/1/" alt="Web Analytics" referrerPolicy="no-referrer-when-downgrade"></a></div></noscript> <!-- End of Statcounter Code --> </body> </html>