Questions tagged [content-pages]

A content-page is an asp.net page that utilizes inheritance from a master page. Useful for template page development

In Web site development with ASP.NET, the Content Page is a page that is associated to a Master Page. A Content Page will contain only markup and controls inside Content controls and it cannot have any top-level content of its own. Any Content Page can use controls that specifically override content placeholder sections in the Master Page.

What is a Content Page - ASP.Net

Master and Content Page Tutorial

123 questions
2
votes
5 answers

Accessing controls in Master page from content page

I am trying to access control in Master page from Content page(Asp.net) using javascript like this alert(document.getElementById('<%=((Label)Master.FindControl("lbl")).ClientID %>').value); control in Master page is as follow,
user3411907
  • 21
  • 1
  • 1
  • 4
2
votes
5 answers

How Access A Server-Side div In Code Behind (Inside Content Page)

How to access a server-side div in code behind (inside content page)? mean there is a div in content page like below:
but the code below does not work: MyDiv.Style.Add("display", "none"); EDIT I am so sorry…
SilverLight
  • 19,668
  • 65
  • 192
  • 300
2
votes
0 answers

Create a Google Chrome New Tab-based content page in ASP.NET

I know that the title of this question i am putting here may be confusing, but i will explain what is about. I have this web application in ASP.NET, where among all pages i have created already, i would like to have a page for each user when they…
Pier
  • 81
  • 2
  • 9
1
vote
1 answer

jQuery id select in ASP.NET content page

Here is my script: