Lemonde
  • Lemonde
  • 100% (Exalted)
  • Advanced Member Topic Starter
2 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">2 years ago</abbr>  | <em>Reason: Solved, thanks</em> </div> <hr /><div class="card border-light 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 bg-light mb-3"> <div class="card-body"> <div class="row"> <div class="col"> <span class="badge bg-warning text-dark"> 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> 12G4A52Znm5s35buKDEmKU2p2vQY69Nsyo</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 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="btn btn-link LoginLink" title="Login" role="button" href="javascript:void(0);" aria-label="sign-in-alt"><i class="fa fa-sign-in-alt fa-fw"></i><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="btn btn-link" title="Register" role="button" href="/RulesAndPrivacy" aria-label="user-plus"><i class="fa fa-user-plus fa-fw"></i><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 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-circle fa-badge-bg fa-inverse text-light"></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">2 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">2 years ago</abbr>  | <em>Reason: Not specified</em> </div> <hr /><div class="card border-light 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="http://store.sircles.net" title="http://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/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_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>drdread</a> <span class="fa-stack"> <i class="fa fa-calendar-day fa-stack-1x text-secondary"></i> <i class="fa fa-circle fa-badge-bg fa-inverse fa-outline-inverse"></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">a year 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_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>Lemonde</a> <span class="fa-stack"> <i class="fa fa-calendar-day fa-stack-1x text-secondary"></i> <i class="fa fa-circle fa-badge-bg fa-inverse fa-outline-inverse"></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">3 years ago</abbr> </li> <li class="list-group-item"> <a href="/Posts/t1127-waiting-for-a-page-to-be-retrieved-from-a-Microsoft-Dynamics-365-server"> <strong>waiting for a page to be retrieved from a Microsoft Dynamics 365 server</strong> </a> (<a href="/Topics/6-Management Software/CRM/ERP">Management Software/CRM/ERP</a>) by <a href="/UserProfile/1698-drdread" 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>drdread</a> <span class="fa-stack"> <i class="fa fa-calendar-day fa-stack-1x text-secondary"></i> <i class="fa fa-circle fa-badge-bg fa-inverse fa-outline-inverse"></i> <i class="fa fa-clock fa-badge text-secondary"></i> </span> <abbr class="timeago" title="19/04/2023 19:59:32" data-bs-toggle="tooltip" data-bs-html="true">a month ago</abbr> </li> <li class="list-group-item"> <a href="/Posts/t1714-Retrieval-of-a-page-from-the-Microsoft-Dynamics-365-server-failed-due-to-an-error"> <strong>Retrieval of a page from the Microsoft Dynamics 365 server failed due to an error</strong> </a> (<a href="/Topics/6-Management Software/CRM/ERP">Management Software/CRM/ERP</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-circle fa-badge-bg fa-inverse fa-outline-inverse"></i> <i class="fa fa-clock fa-badge text-secondary"></i> </span> <abbr class="timeago" title="05/04/2023 11:56:33" data-bs-toggle="tooltip" data-bs-html="true">2 months ago</abbr> </li> <li class="list-group-item"> <a href="/Posts/t1482-Retrieval-of-a-page-from-a-Microsoft-Dynamics-365-server-failed-due-to-an-error"> <strong>Retrieval of a page from a Microsoft Dynamics 365 server failed due to an error.</strong> </a> (<a href="/Topics/6-Management Software/CRM/ERP">Management Software/CRM/ERP</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-circle fa-badge-bg fa-inverse fa-outline-inverse"></i> <i class="fa fa-clock fa-badge text-secondary"></i> </span> <abbr class="timeago" title="05/04/2023 11:55:19" data-bs-toggle="tooltip" data-bs-html="true">2 months 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 target="_top" title="Privacy Policy" href="/RulesAndPrivacy">Privacy Policy</a> | <a target="_top" title="YetAnotherForum.NET" href="https://www.yetanotherforum.net">Powered by YAF.NET 3.1.12 </a> | <a target="_top" title="YetAnotherForum.NET" href="https://www.yetanotherforum.net">YAF.NET © 2003-2023 YetAnotherForum.NET</a><br /><span class="text-muted small">This page was generated in 0.177 seconds.</span></div></footer> <div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls d-none"> <div class="slides"></div> <h3 class="title"></h3> <a class="prev btn btn-secondary"> <i class="fas fa-chevron-left"></i> </a> <a class="next btn btn-secondary"> <i class="fas fa-chevron-right"></i> </a> <a class="btn btn-secondary close"> <i class="fas fa-times"></i> </a> <a class="play-pause"></a> <ol class="indicator"></ol> </div> <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_ctl06_MoreDetails" Name="forum$ctl06$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> <div class="scroll-top"> <a Id="forum_ctl07_ScrollButton" Name="forum$ctl07$ScrollButton" Class="btn btn-outline-secondary btn-sm btn-scroll" role="button" href="javascript:__doPostBack('forum$ctl07$ScrollButton','')" aria-label="angle-double-up"><i class="fa fa-angle-double-up fa-fw"></i> </span></a> </div></div></div> <script type="text/javascript"> //<![CDATA[ (function(){'use strict';window.addEventListener('load',function(){var form=document.forms[0];var 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');} $.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});}} jQuery(document).ready(function(){jQuery('.LoginLink').click(function(){jQuery('#LoginBox').modal('show');});}); function addThanks(messageID){jQuery.ajax({url:'/api/ThankYou/AddThanks/'+messageID,type:'POST',contentType:'application/json;charset=utf-8',success:function(response){jQuery('#dvThanksInfo'+response.MessageID).html(response.ThanksInfo);jQuery('#dvThankBox'+response.MessageID).html('<a class="btn btn-link" href="javascript:removeThanks('+response.MessageID+');" onclick="jQuery(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>');jQuery('.thanks-popover').popover({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>'});},error:function(x,e){console.log('An Error has occurred!');console.log(x.responseText);console.log(x.status);}});} function removeThanks(messageID){$.ajax({url:'/api/ThankYou/RemoveThanks/'+messageID,type:'POST',contentType:'application/json;charset=utf-8',success:function(response){$('#dvThanksInfo'+response.MessageID).html(response.ThanksInfo);$('#dvThankBox'+response.MessageID).html('<a class="btn btn-link" href="javascript:addThanks('+response.MessageID+');" onclick="jQuery(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>');},error:function(x,e){console.log('An Error has occurred!');console.log(x.responseText);console.log(x.status);}});} 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=/";}//]]> </script> </div></form> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2700737586273606" crossorigin="anonymous"></script> <!--Start of Tawk.to Script--> <script type="text/javascript"> var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/570d5b3ed9900cfe1d80a4dc/default'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })(); </script> <!--End of Tawk.to 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>