master-pages Questions

7

I am using master page and when I run this page, it shows the following error message: a page can have only one server-side form tag How can I solve this problem?
Uranyl asked 26/5, 2010 at 7:8

26

Solved

When I run a webapp from Visual Studio 2008 SP1 using the internal web server (not IIS) I receive the above mentioned error. The full error (source file Default.aspx.cs): Compiler Error Message...
Dennett asked 18/11, 2009 at 16:34

10

I am a new ASP.NET Web Forms developer and trying to use Twitter Bootstrap with the Master Page. I am struggling with setting navbar item as active when user selects it. I created my simple master ...
Mchail asked 1/8, 2013 at 3:1

3

Solved

There's more than question and article about the same exact question but I have a couple more related questions and was hoping to get some answers. I've heard of two approaches to find the button...
Ourself asked 16/4, 2011 at 14:25

4

Solved

I have the following code in my ASPX side: <%@ Page Language="C#" MasterPageFile="~/masterpages/standard.Master" .... %> <%@ MasterType VirtualPath="~/masterpages/standard.Master" %> ...
Syndesis asked 26/2, 2010 at 15:56

6

Solved

I have tried this login_div.Style("display") = "none"; But it's not working.how can I set the display of the div to none through code behind, in aspx I have a div: <div id="login_div" runat...
Deshabille asked 10/12, 2009 at 16:9

8

When a form with a run at server is added there will be two forms with runat server and another error occurs. Can some one give me an idea. Thankx in advance. The details of the error are as follo...
Illation asked 22/3, 2010 at 6:25

6

Is there any way to create a similar idea as master/content page in ASP.NET in pure HTML? I want to create several pages in HTML, but I want that all of them look the same with some contents diffe...
Chirurgeon asked 16/3, 2011 at 22:44

4

Solved

Having a "duh" moment trying to implement a new content page Here's the structure Master Page ---- Nested Master Page -------- Nested Master's Content Page Mark up: Master Page <asp:Conten...
Devisable asked 9/2, 2012 at 18:10

11

Solved

I recently converted a website project to a web application project in Visual Studio 2008. I finally got it to compile, and the first page (the login screen) displayed as normal, but then when it r...
Millennium asked 13/1, 2010 at 15:29

3

Web.config Level => pages maintainScrollPositionOnPostBack="true" /> Page Level => <%@ Page MaintainScrollPositionOnPostback="true" %> Code Level => Page.MaintainScrollPositionOnPostBack = true...
Unfinished asked 12/9, 2014 at 15:2

8

Solved

I just got a new desktop computer with Windows 7 Pro as the operating system. I installed Visual Studio 2008 on to this new computer and tried to open a previously existing ASP.NET 3.5 solution tha...
Twitter asked 29/9, 2010 at 20:16

9

Solved

I am working on a test application based on ASP.NET MVC. I am new to CSS stuff so I am learning that as well. I have created a master page called "new.master" and created a new css "new.css". I am...
Player asked 16/7, 2009 at 13:55

5

Solved

Can the elements of the Master Page be accessed from the Content Page? Lets say I have MasterPage1 and ContentPage1 that inherits from the MasterPage1, and the MasterPage1 has a button: Button1. ...
Aerolite asked 20/1, 2009 at 16:2

13

Solved

This is weird. I added a brand new Web Application project to my solution in Visual Studio 2008. Created a master page. Made zero modifications. Created a new webform. Set its master page to the ...
Plugugly asked 7/5, 2009 at 17:2

6

Solved

I had set of ASPX pages in which each page had different titles, but I want to put default title for pages which don't have a title. The default title must be configurable.
Chisolm asked 7/6, 2013 at 11:16

3

Solved

I am trying to find a span element who has an id in a particular pattern. Its main use is to find certain elements rendered by an asp.net (aspx) page which is derived from a master page.
Holyhead asked 28/9, 2009 at 15:46

7

Solved

On one site, I'm only using a single level Masterpage and in a page using that master, I can do this.Master.FindControl("controlName") to access the control. Works fine. However, using the same co...
Revolution asked 16/10, 2009 at 13:53

7

Solved

I need to loop through all the controls in my asp.net webpage and do something to the control. In one instance I'm making a giant string out of the page and emailing it to myself, and in another ca...
Parkman asked 23/11, 2010 at 19:16

15

Solved

As you can see in the CSS below, I want child2 to position itself before child1. This is because the site I'm currently developing should also work on mobile devices, on which the child2 should be ...
Miter asked 22/8, 2012 at 10:4

3

Solved

I'm looking at adding master pages to an existing site but have found that once I do, the elements' IDs get prepended with a code (e.g. ctl00_MainPageContent_). Unforunately, this breaks existing ...
Fatigued asked 10/5, 2009 at 2:38

7

Solved

After trying to setup my site for Google Webmaster Tools I found that my Custom ASP.NET 404 page was not returning the 404 status code. It displayed the correct custom page and told the browser tha...

6

Solved

I have a menu inside a masterpage (in a ASP.NET Web site), and i want to highlight active page in masterpage menu and submenus. HTML: <ul id="nav" class="sf-menu"> <li class="current-me...
Mawson asked 12/6, 2013 at 7:57

14

Solved

After finishing the web application and publishing it online no matter I try I keep getting the following error, keep in mind that it runs locally as it should... Parser Error Message: Could not...
Buhl asked 22/4, 2014 at 12:58

2

Solved

if we have a master page and a content page.so the content page @Page directive look like as <%@ Page Language="C#" MasterPageFile="~/Site1.Master" .... /> so , in order to access master ...
Granite asked 20/1, 2012 at 19:20

© 2022 - 2024 — McMap. All rights reserved.