CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 10/9/2003 2:28:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 38 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
adaml
Asp.Net User
User Controls in Templates10/9/2003 2:28:09 AM

0/0

Hello-

I have an application with 5 to 10 webforms which share much of their display logic. I have created a base class to take of that, which they all inherit from.

My issue is that they all have the same layout which utilizes a number of usercontrol menus. The functionality of those menus is handled in above mentioned baseclass. However, in each page i have 50 lines or so of identicle html containing the header and footer usercontrols that i would like to share.

Obviously the basepage has it's page.render method that can be used to write headers and footers, but i can't use it to write out controls.

So, i am wondering if it is good style to put all of the header user controls into a wrapper user control? so that i have only one element to include in each file? Can you do this?

Thanks - Adam
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Programming WPF: Building Windows UI with Windows Presentation Foundation Authors: Chris Sells, Ian Griffiths, Pages: 863, Published: 2007
Professional WPF Programming: .NET Development with the Windows Presentation Foundation Authors: Chris Andrade, Shawn Livermore, Mike Meyers, Scott Van Vliet, Pages: 451, Published: 2007
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter Kit: visual web developer 2005 express edition starter kit Authors: David Sussman, Alex Homer, Pages: 312, Published: 2005
Developing Microsoft ASP.NET Server Controls and Components Authors: Nikhil Kothari, Vandana Datye, Pages: 689, Published: 2002
Beginning ASP.NET 2.0 E-commerce in C# 2005: From Novice to Professional Authors: Cristian Darie, Karli Watson, Pages: 681, Published: 2005
ASP.NET Cookbook Authors: Michael A. Kittel, Geoffrey T. LeBlond, Pages: 824, Published: 2004

Web:
David Ebbo's blog : Using User Controls as Page Templates in ... Nov 25, 2008 ... Dynamic Data has the concept of Page Templates, which are pages that live under ~/DynamicData/PageTemplates and are used by default for all ...
Steven Smith : Render User Control as String Template Scott Guthrie has a great example of how to use an ASP.NET user control as a template which one can dynamically bind to data and then pull the results out ...
Supporting Templates with ASP.NET User Controls - ScottGu's Blog This allows a page developer to pass templates to the user control like so: ... In this example the template can contain any controls the user of the ...
How to: Create Templated ASP.NET User Controls You can create user controls that implement templates, an ASP.NET feature that allows the separation of control data from its presentation.
Template user control Jun 19, 2008 ... I've created a template user control and followed the example on the ... MSDN ( the message template with fruit as the example).
User Controls for Page Templates: ASP Alliance An example using ASP.NET User Controls to create simple site-wide page templates .
Using Template Pattern with User Controls in ASP.NET May 21, 2006 ... Using Template Pattern with User Controls in ASP.NET. Over the past couple of years I had the opportunity to learn a lot of great tips and ...
Creating Custom Template for Web User Control in Visual Studio.NET ... Nov 25, 2005 ... This article shows you how to create custom template for web user control in visual studio 2003. The attached sample application will ...
ASP.NET: Add Template Support to your User Controls ASP.NET: Add Template Support to your User Controls. Here's a great article on how to add support for Templates to your ASP.NET User Controls. ...
CodeProject: Dynamically add and remove user controls. Free source ... Jun 2, 2008 ... First, let's create a user control and populate it with several controls for our "template". The user control content looks like this: ...

Videos:
Customizing WebDataGrid Control Templates The built-in control templates for the WebDataGrid allow you to display messages to users when the control cannot display the expected data. In ...
Fingerprint reader, Fingerprint computer access control ... How to avoid remembering the boring but necessary passwords ? How to avoid losing the personal/business data of a large chunk ? Say ...
Creating Custom WebDataGrid Headers and Footers The WebDataGrid features a flexible template system for creating custom headers and footers. In this video you learn to customize the headers and ...
Customizing WebDataGrid Cell Templates Learn to customize individual cells inside a WebDataGrid. See how quickly and easily you can transform bound columns to template columns and back ...
Sony AV3000 User Review Sony AV3000 Remote Find more video product reviews in the Electronics or Accessories categories at www.expotv.com Videopinions are Expo TV ...
Email Fusion - Email Marketing Tutorial Take a brief walkthrough of our user-friendly interface and easy to use, newsletter software. This software provides it's user complete control ...
Creation of a website within 10 minutes (video) About UcoZ.com Project UcoZ is a project called to help anyone who wish to create his/her own Web site. Existing site can be made more rich ...
Customizing WebDataGrid Columns Learn to use the smart tag to customize WebDataGrid columns. After watching this video youll be able to: - Add, remove and reorder columns ...
CSI tools for SAP CSIA01 codification and mass role building CSI Accelerator® is a comprehensive, modular .net/SQLapplication that can be used PC-based or in a client-server set-up and which allows IT ...
056-REPORTS Hands-On #2 (Oracle Training) In this hands-on, you will learn how to: use report wizard, use report style group left, use template, use pre-viewer, use zoom in and out, use ...




Search This Site:










object reference not set to an instance of an object error on an unbound dropdownlist

how to start

payment through authorized.net

web.config updating programatically

opening page http://localhost/aspnet_client/system_web/1_1_4322/smartnav.htm

creating a gallery

lost need help hosting issue

how to use findcontrol in a external class?

i have a web site where i input stories and set the publish date to some time in future and set an hour from 1-24....

how can i create a search engine that searches files and folders in my website?

ibs for flash? and charts

color problem ? panel1.backcolor = drawing.color.crimson.. how can i write #cc0000 of color as code line ?

partial classes

how to retrieve the value from a querystring variable?

how to use smtp send mail with asp.net

redirecting from https to http

linux

search page in asp .net 2.0

can you databind a sqldatasource from another page?

regular expression string for password

i can't install the ibuyspy storevb sdk onto server 2003 with iis6.0 sql, server2k with latest update, and framework 1.1.

help desgining something [one xml file for all users]

how to add controls to a control collection?

how to trigger sending of reminder emails automatically

left trim

using two dropdown menus...first drop down figures out what dropdown 2 will be

reload to top of the page

app_code directory quetsion.

multithread access to httpcontext.current from global.asax

simulating a windows service

  Privacy | Contact Us
All Times Are GMT