Click here to Skip to main content
15,920,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Solution to multiple file upload control Pin
N a v a n e e t h22-Jul-07 22:37
N a v a n e e t h22-Jul-07 22:37 
GeneralRe: Solution to multiple file upload control Pin
Hari_101022-Jul-07 22:42
Hari_101022-Jul-07 22:42 
GeneralRe: Solution to multiple file upload control Pin
N a v a n e e t h22-Jul-07 22:57
N a v a n e e t h22-Jul-07 22:57 
GeneralRe: Solution to multiple file upload control Pin
Hari_101022-Jul-07 23:01
Hari_101022-Jul-07 23:01 
QuestionCaching issue in .NET 1.1 Pin
Vipul Mehta22-Jul-07 19:41
Vipul Mehta22-Jul-07 19:41 
AnswerRe: Caching issue in .NET 1.1 Pin
N a v a n e e t h22-Jul-07 22:27
N a v a n e e t h22-Jul-07 22:27 
Questionhow to align dynamically generated control in palceholder control Pin
imranafsari22-Jul-07 19:23
imranafsari22-Jul-07 19:23 
Questionasp.net equivalent of php's 'Include' Pin
gvanto22-Jul-07 19:21
gvanto22-Jul-07 19:21 
I was wondering if there's an equivalent 'include'-type method for asp.net pages
(like php's include "incFolder/header.php" which includes the header on each page).

I have a master page, with a contentPlaceHolder (CPH). In the CPH, I load each page. However, there's a section of (html) code that I'd like to be able to include at certain places WITHIN the CPH (ie. the individual pages).

Can individual pages also reference some sort of cph's themselves? (this would be awesome).

Scenario:
- - - - - -
masterPage.master:
<br />
asp: contentplaceholder id=myCPH . . . . asp: contentplaceholder<br />

- - - - - - - - -

- - - - - - -
MyCPH:
<br />
Hello world this is my page<br />
<br />
HERE I want to include a generic block of code to be used in individual CPH's<br />
<br />
more myCPH stuff...blah blah blah...<br />

- - - - - - - - - - - - - - - - -

Any help much appreciated,
Gerry
aps.net newbie










Learn How to Make $ With Domains
http://www.dntutor.com

AnswerRe: asp.net equivalent of php's 'Include' Pin
Paddy Boyd22-Jul-07 22:12
Paddy Boyd22-Jul-07 22:12 
GeneralRe: asp.net equivalent of php's 'Include' Pin
gvanto23-Jul-07 4:05
gvanto23-Jul-07 4:05 
Questioncreate image control at runtime [urgent] Pin
Milind Panchal22-Jul-07 18:58
Milind Panchal22-Jul-07 18:58 
Questiondate query Pin
Sonia Gupta22-Jul-07 18:49
Sonia Gupta22-Jul-07 18:49 
AnswerRe: date query Pin
Amit.Amit.Amit...22-Jul-07 19:35
Amit.Amit.Amit...22-Jul-07 19:35 
GeneralRe: date query Pin
Sonia Gupta22-Jul-07 19:47
Sonia Gupta22-Jul-07 19:47 
AnswerRe: date query Pin
Sathesh Sakthivel22-Jul-07 19:36
Sathesh Sakthivel22-Jul-07 19:36 
GeneralRe: date query Pin
Sonia Gupta22-Jul-07 19:49
Sonia Gupta22-Jul-07 19:49 
AnswerRe: date query Pin
imranafsari22-Jul-07 19:44
imranafsari22-Jul-07 19:44 
GeneralRe: date query Pin
Sonia Gupta22-Jul-07 19:51
Sonia Gupta22-Jul-07 19:51 
GeneralRe: date query Pin
imranafsari22-Jul-07 20:27
imranafsari22-Jul-07 20:27 
GeneralRe: date query Pin
Amit.Amit.Amit...22-Jul-07 20:29
Amit.Amit.Amit...22-Jul-07 20:29 
GeneralRe: date query Pin
Sonia Gupta22-Jul-07 20:42
Sonia Gupta22-Jul-07 20:42 
Questionin my ide there is no form designer code?can u tell me how to do this? Pin
ademsandeepreddy22-Jul-07 18:41
ademsandeepreddy22-Jul-07 18:41 
AnswerRe: in my ide there is no form designer code?can u tell me how to do this? Pin
Christian Graus22-Jul-07 19:05
protectorChristian Graus22-Jul-07 19:05 
Questioncreating folder and uploading file Pin
hurrem22-Jul-07 18:38
hurrem22-Jul-07 18:38 
AnswerRe: creating folder and uploading file Pin
Amit.Amit.Amit...22-Jul-07 19:43
Amit.Amit.Amit...22-Jul-07 19:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.