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
0
votes
2 answers

how to hide modal popup box by escape key in content page

I would like to hide modal popup box by pressing escape key. I have found a way that works in pages containing body tag(not content pages); using the function below, and onkeypress event for body tag. function catchEsc(e) { var kC…
parisa
  • 103
  • 1
  • 2
  • 6
0
votes
1 answer

Calling javascript from content page not working

My app consists of a Masterpage with content pages. The Masterpage contains javascript functions to manipulate a treeview by dynamically selecting and expanding nodes. In one instance I am trying to call the javascript function on the Masterpage…
mattgcon
  • 4,768
  • 19
  • 69
  • 117
0
votes
1 answer

Expose Body tag from Master Page to Content Pages in ASP.NET

I want to expose the of my Master Page to my Content Pages. Therefore I do: Master.aspx Master.aspx.vb Public Property Messaging() As Messaging Get Return mMessaging …
CiccioMiami
  • 8,028
  • 32
  • 90
  • 151
0
votes
1 answer

execute contentscript.js.function() from injected javascript code

i want to execute a function inside a chrome extension (type: content_page), from the injected javascript inside a webpage loaded at a tab. How can I do?
user1189104
  • 79
  • 1
  • 6
0
votes
1 answer

keeping html lists ul / li inside asp.net contentplaceholder

Having some problems with this. Im using c# code to bind files in a directory into an asp.net repeater .. and that's working but my problem is not there (I think).. It may with with CSS or just the nature of the ul. Why does my list run past the…
Hell.Bent
  • 1,667
  • 9
  • 38
  • 73
0
votes
1 answer

Why does not this code work in Content Page?

I write this code in an aspx.net and it works well, but when write to a content page, it does not. Does any one know why? Note:I use Artem GoogleMap control and set a pushpin on it and then get its location.
0
votes
1 answer

how can i create javascript from content page to master page load

how can i create javascript from content page to master page load mycontentpage.aspx code behind; protected void haritasifirla() { string api = "AIzaSyDZd5O6jx8C4YdrUfMeMywlR5BDCMl4GV0"; …
Mehmet
  • 149
  • 1
  • 3
  • 12
0
votes
1 answer

Can I get control from page placed in a frame of another page?

I am a desktop client developer. I now got to continue this project is ASP.NET with AJAX, so I am learning web development the hard way. I need to get a list of all check boxes and their states from repeater control on Summary.aspx when user…
nzic
  • 184
  • 9
0
votes
1 answer

Get jQuery from masterpage working on contentpage

I have a problem that my jQuery don't load or something when i'm on the contentpages. When i click on the link that should load the jquery, it only works at my startpage (Default.aspx). And when i click at the same link that is placed in my footer…
0
votes
3 answers

How to give path for image in a master page for two sub-pages in two locations?

Hi all my work environment is asp.net c# vs2008. My issue is this, i have a master page outside.master in shared folder.Inside it i have an image control with i am referring this master page from in…
-1
votes
2 answers

How to rewrite backbutton's action

In Page-A, I write a command to direct to Page-B using App.Current.MainPage.Navigation.PushAsync(new B_Page()) The original behavior of the back button's action(on the left-top of the page) is to go back to the last page(Page-A). -->Action_A And…
-1
votes
1 answer

How to show/hide entries in xamarin forms content page based on a switch input?

I'm new to Xamarin forms. I'm trying to implement a switch in a registration page, that when toggled, it should show 3 more entries on the same page, if not, it just shows the first 3 entries (email, password and confirmPassword). I'm using MVVM so…
-1
votes
1 answer

MasterPage doesn't display on the other pages

I try to make new homepage of our website and its done. My masterpage can display on the home page and also on the login page as background picture and menus. But after login the portal then my masterpage menus and background pictures can't display…
-1
votes
4 answers

How to display images vertically

I have an ASP.NET Website Content Page that uses a Master Page, in Visual Studio. There are images displayed horizontally, but I want them to be vertical, like in a column.
Grafica
  • 369
  • 6
  • 13
  • 27
-1
votes
1 answer

Calling Content Page Method from MasterPage Method

Possible Duplicate: content page class method calling from master page class I need to access Content Page Method from Master page Event. How can I do this? Content Page: public partial class Call_Center_Main : System.Web.UI.Page { …
Krishna Thota
  • 6,646
  • 14
  • 54
  • 79
1 2 3
8
9