CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 5/8/2006 2:14:31 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
stez
Asp.Net User
Master pages & different script blocks5/8/2006 2:14:31 PM

0/0

Suppose i have a default.master masterpage and a few content pages. I want to include different javascript code in the header (link to .js file for example) of the different content pages.

 

How should this be done?

bitmask
Asp.Net User
Re: Master pages & different script blocks5/11/2006 2:33:06 PM

0/0

I've found the easiest way is to put a ContentPlaceHolder control inside the <head> block, and use asp:Content controls in the content pages to inject the .js links. See: http://odetocode.com/Blogs/scott/archive/2006/04/10/3258.aspx
stez
Asp.Net User
Re: Master pages & different script blocks5/12/2006 6:37:22 AM

0/0

tnx for the reply. that should work indeed
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro VB 2005 and the .Net 2.0 Platform Authors: Andrew Troelsen, Pages: 1034, Published: 2006
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Learning ASP.NET 3.5 Authors: Jesse Liberty, Dan Hurwitz, Brian MacDonald, Pages: 576, Published: 2008
Pro VB 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1377, Published: 2008
Designing Active Server Pages: Scott Mitchell's Guide to Writing Reusable Code Authors: Scott Mitchell, Pages: 348, Published: 2000

Web:
Master pages & different script blocks - ASP.NET Forums Re: Master pages & different script blocks. 05-11-2006, 10:33 AM. Contact ... Re : Master pages & different script blocks. 05-12-2006, 2:37 AM. Contact ...
Coerced Code: ASP.NET: Registering Client Script Blocks in Master ... NET: Registering Client Script Blocks in Master Pages ... It is really not any different than in a page without a master page. You can register your client ...
ASP.NET Resources - Code Blocks Inside Master Pages Cause Trouble Here’s a little shocking detail about master pages I figured out yesterday. ... library/nav.js'>. To accomodate for this, I use code blocks to ...
K. Scott Allen : Master Pages If two different pages are using the same master page, how can you run ..... is loaded everything is hunky dory (because the script block is now there). ...
ASP.NET Master Pages Overview ... Content controls (except script blocks for server code) results in an error. ... You can create multiple master pages to define different layouts for ...
aolserver.am.net | AOLserver Modules | ADP Master Pages Tcl Module ... Sep 13, 2007 ... Our ADP content pages will return to the client just one block if so .... " master.adp" %> <%=$pagetitle%>




Search This Site:










how to perform drag and drop on asp.net with ajax 1.0?

force a website to a particular port

insert flash movie in asp.net site

default namespaces

tree control images periodically fail to display.

clientside node toggling using a sitemapdatasource

crunched page

error - no row at position 1

web part doesn't show close and minimize controls.

authentication issues using webdav

trying to change the register link to "signup" or "get started"

linq. who knows how to do this?

dynamic query gives errors

vb.net - module vs class

pageload inasp.net

breakpoints in asp 3 files?

course management software

will pay someone to help get starter kit up and running

getting word working from asp.net

running vwd 2005 and vs 2003 together

problem with crystal reports viewer on dnn3 module

where do i download the vs 2005 web app project add-in?

global variables

easy display of favorites

old question about multiple containers on on page. dnn 3.011

calling a subroutine in a repeater

host with file manager in control manager

dnn3 beta clean install

binding grid through master page

where can i get my new web hosted?

 
All Times Are GMT