Questions tagged [master-pages]
a feature of ASP.NET that allows template-based page development.
master-pages
2,950
questions
0
votes
1
answer
27
views
VS 2022 Community does not recognize Master Page and other controls
I recently installed Visual Studio 2022 Community and loaded the web site I have been working on. The file text in all my files is covered with squigglies. VS does not recognize most of the objects ...
0
votes
1
answer
23
views
ASP.NET MasterPage can't access it's own Label from code behind
I have a weird issue where I have a MasterPage, inside it a simple navbar with labels. For example I have the following label in the Site.Master:
<asp:Label ID="TestLabel" runat="...
0
votes
1
answer
28
views
Accessing VB Function from MasterPage Not Working
I have a website where I am trying to change the main logo on the master page programmatically based on the holiday. On my master page I have the code:
<asp:Image ID="img_fp_logo" ...
0
votes
0
answers
28
views
iFrame breaks master page in C# ASP.NET
When I use <iframe> in a content area of a webform, the master page gets all messed up.
I have reduced it down to a simple:
<iframe src=""> </iframe>
The master page in ...
0
votes
0
answers
41
views
Using iframe-Resizer Library in an ASP.Net Web forms solution using Master pages with the iframe displaying content from an Angular app. (v.16.2.12)
I'm new to the iframe-resizer library and was wondering if I could get some advice/suggestions/recommendations re: a question I have for using iframe-resizer in an ASP.NET Web forms app, using Master ...
0
votes
1
answer
60
views
Adding a new Web Form with Master Page causes errors BC30002 and BC30456 in my project
This is not a new project. It was originally started in VS 2019, now working in VS 2022. I have tried both environments with this and still get the same errors.
This is a ASP.NET/VB.NET application. ...
0
votes
0
answers
20
views
DotVVM 4.2: Sharing MasterPage Between Projects Leads to 'File Not Found' Exception
I'm attempting to share a MasterPage between multiple DotVVM projects (version 4.2). However, I encounter the following exception:
DotVVM.Framework.Compilation.DotvvmCompilationException: File 'Demo....
0
votes
0
answers
35
views
How to call Method(Function) from one webpage to another webpage using Master page in ASP.NET C#
I have created a master page Login_Nav and created two pages AuthenticationMethods.aspx and password.aspx with masterpage Login_Nav.master.
I have also created a method CheckAuth() in ...
0
votes
1
answer
79
views
webpart is not detecting language change
in our sharepoint website we have page include webpart . site is using 2 language english and arabic IF im login as Anonymous Users: when change from englsh to arabic client side code detect not ...
0
votes
1
answer
26
views
Bootstrap Modal no longer showing - Jquery in Site Master
I'm working on a .Net Web Pages site using Visual Studio 2015. Yes yes, I know. We use dinosaur technology here.
I had to go back and pull an older version of the code from TFS and now it appears I've ...
0
votes
1
answer
192
views
Declare a global variable in a shared page in ASP.NET Core MVC
I am creating a dropdown ( that uses a database table ) for my Navbar which is located in my Shared View.
I was initializing a List<> from my FilterViewModel in FilterController, then using the ...
0
votes
0
answers
53
views
Convert asp.net c# 2003 master+pages to fixed menu panel page and loading aspx pages like a partial page with server render (without calling master)
In a web application asp.net c# 2003 project that consists of master page and other **pages **as follows:
Currently the project is using a home page full of icons that user click one and then goes to ...
0
votes
0
answers
87
views
.NET master page equivalent in Angular with external html pages
Our current application is ASP.NET Webforms, and we're planning on migrating it to Angular and ASP.NET Core.
As POC, I'm trying to figure out how we can maintain existing structure. Our header and ...
0
votes
1
answer
47
views
Issues with dropdown list HTML
I want my dropdown list to be over all the elements when its opened but the list seems to be stuck under something (to my understanding it is not the border as I tried to remove it).
Can someone ...
0
votes
1
answer
41
views
Can the _Layout.cshtml (Master Page) render without views?
I was working on designing a layout and wanted to test how it looks and functions without having a specific view linked to it. Specifically, I wanted to see the _Layout.cshtml (Master Page) itself ...