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
1
vote
2 answers

Programmatically added stylesheet ASP.NET (VB)

I'm currently programmatically adding a stylesheet to my content page using VB: Dim link As New HtmlLink() link.Attributes.Add("rel", "stylesheet") link.Attributes.Add("type", "text/css") link.Href =…
1
vote
1 answer

Magento2 : Content Pages are not working on frontend

I was create a FAQ page from admin > content > Pages.When I tried to open this page in frontend its shows Whoops, our bad...(404 Not found). Page Link : http://domainname.com/faq Cleared all the cache by run this command : bin/magento…
Tomas
  • 514
  • 4
  • 13
  • 37
1
vote
1 answer

Xamarin forms application cannot be opened on smartphone

I am developing a Xamarin forms application with a single page. When I try to install the application on Samsung Galaxy S7 it installed good, but the open option is disabled and it didn't created an icon in the list of applications. Even in the…
NiAu
  • 535
  • 1
  • 12
  • 32
1
vote
0 answers

Display in foreground fullscreen?

Say I have an 'ContentPage' - object without the XAML file. Is it possible to display the contents of it in foreground fullscreen or in a grid column of an app? I have a plugin which has an Interface public interface IPlugin { ContentPage…
Christoph
  • 542
  • 4
  • 24
1
vote
0 answers

Xamarin Forms add new controls dinamically in the content via code

I have a form in my Xamarin project that its result is something like that: Basically there is a header (1) and a body of this form (2). The header is quite simple build with AbsoluteLayout. For creating the body (2) I've created my component to…
Enrico
  • 3,592
  • 6
  • 45
  • 102
1
vote
1 answer

How do I navigate from an Android Activity to a Xamarin Forms ContentPage?

I'm developing an application that uses an online payment. I open the link, for the payment, in a browser using: Device.OpenUri(Uri);. When the user has finished paying for his order he gets redirected to an Android Activity using a custom URL…
Gauthier
  • 11
  • 1
  • 4
1
vote
0 answers

Master page functionality does not work on all content pages (asp.net webform)

My master page has a few buttons to let the user choose his preferred culture. protected void btnES_Click(object sender, EventArgs e) { Global.UserSession.Culture = "es-es"; Server.Transfer(Request.Path); } On a new page that I have just…
1
vote
1 answer

how to change div style which is in master page from content page code behind file

I want to include that style class from external css file into content page code behind file. css file name is screen.css and it is having .bodydefault class so how to access that css class from code behind?
1
vote
1 answer

Add client side handler from content page to master page control

I have a requirement for four similar pages in an ASP.Net webforms application. All four pages will have a header with a dropdown and two buttons. I intend to use a master page for this header and then content pages for each of the different pages I…
Tobsey
  • 3,390
  • 14
  • 24
1
vote
3 answers

Changing ContentPlaceHolder's content dynamically

I have an index page as a content page and at the top of it i have a content place holder like this.
Tartar
  • 5,149
  • 16
  • 63
  • 104
1
vote
2 answers

attach two ASP.NET content page buttons to one masterpage event

I have one master page with two content page each content page has submit button:
David Munsa
  • 885
  • 1
  • 16
  • 30
1
vote
1 answer

Retrieving values from DropDownList on Postback in asp.net

I have a weird problem with the DropDownList postback. I have a DropDownList in asp.net master page, which contains some state names like : Text [NewYork] - Value [0] Text [New Jersey] - Value [1] drpTowns.DataSource =…
Abbas
  • 4,948
  • 31
  • 95
  • 161
1
vote
1 answer

Add .aspx file into solution dynamically

Can any body tell me how i can include a .aspx into a solution of asp.net project dynamically like in c# or Vb. Is there any property to accomplish this task. You comments are honored.
Naveen Bangwal
  • 223
  • 1
  • 9
1
vote
1 answer

Master Page controllers event handle in content page

I have a Master page that have an Image Button and a GridView.
Dinesh Persaud
  • 155
  • 2
  • 6
  • 18
1
vote
0 answers

How to validate special chars(<,>) which are in content pages from a Master Page

I am having one Master Page say MasterOne.master with 2 content pages Login.aspx and Registration.aspx In both my content pages i want to validate Text boxes with NOT allowing Special Chars( esp < , >) For this i just wanted to write Java script in…
þÍńķ
  • 353
  • 1
  • 11
  • 31
1 2
3
8 9