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 > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 4/7/2004 5:04:36 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 11 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
vintious
Asp.Net User
Create template with certain controls being the content.4/7/2004 5:04:36 PM

0/0

I want to basically have this inside my custom control:

<ToolbarTempate>
<Prefix:Toolbar>
<Prefix:Something />
<Prefix:SomethingElse />
</Prefix:Toolbar>
</ToolbarTemplate>

Where obviously Toolbar, Something, and SomethingElse are Controls in the same namespace and Assembly.

I only want the Template to allow Toolbar Controls, and each ToolbarControl, I ONLY want it to allow a base class I have called ToolbarItemBase.

I found a few articles on Templates, but they deal with Binding as well. I don't need any binding :D.

Basically, I want how the <asp:ListBox> only allows <asp:ListItems>, but I want it in a Template so to speak.

Any good articles?
Thanks, Yohan
master4eva
Asp.Net User
Re: Create template with certain controls being the content.4/7/2004 7:34:33 PM

0/0

Hi, you might want to find the following blog posts of interest to you:

http://blogs.aspadvice.com/jlovell/archive/2004/03/03/688.aspx

http://blogs.aspadvice.com/jlovell/archive/2004/02/29/663.aspx

What I would do is place a base class as the item to be placed inside the collection control. Makes sense?
-- Justin Lovell
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Macromedia Dreamweaver 8: Training from the Source Authors: Khristine Annwn Page, Pages: 590, Published: 2006
Macromedia Dreamweaver MX 2004: Training from the Source Authors: Khristine Annwn Page, Pages: 579, Published: 2003
Managing Enterprise Content: A Unified Content Strategy Authors: Ann Rockley, Pamela Kostur, Steve Manning, Pages: 565, Published: -1
Macromedia Dreamweaver MX Unleashed Authors: Matthew Pizzi, Zak Ruvalcaba, Pages: 1002, Published: 2002
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
Pro WPF: Windows Presentation Foundation in .NET 3.0 Authors: Matthew MacDonald, Pages: 980, Published: 2007
Pro WPF in C# 2008: Windows Presentation Foundation With . Net 3. 5 Authors: Matthew MacDonald, Pages: 1040, Published: 2008
How to Do Everything with Microsoft Office Excel 2003: how to do everything with Authors: Guy Hart-Davis, Pages: 428, Published: 2003
Pro WPF with VB 2008: Windows Presentation Foundation With . Net 3. 5 Authors: Matthew MacDonald, Pages: 1000, Published: 2008
How to Do Everything with Dreamweaver 8 Authors: Michael Meadhra, Pages: 448, Published: 2005

Web:
Walkthrough: Creating a Template By Using Content Controls Creating tables that contain content controls in a Word template at design time. Populating a combo box content control and a drop-down list content control ...
Pages « WordPress Codex 6.3 Creating Your Own Page Templates. 7 Examples of Pages and Templates. 7.1 Archives with Content. 8 WordPress as a CMS. 8.1 Using a Page as the Front Page ...
PHPCow - Article, News Publishing Script, Content Management System Create templates per category, with its own header/footer. ... with the Administrator having the overall control of the content being posted to the site . ...
Creating project templates Project templates provide content and structure for a project. ... You must create template folders in your version control repository under the ...
Creating template components in Flex 3 and AIR (Comtaste ... Mar 1, 2008 ... The template component enables you to define and create properties .... For the comp:content template tag, define two Label controls and two ...
Silverlight Tutorial Part 7: Using Control Templates to Customize ... Incorporating Content within Our Control Templates ... To see this in action let's jump to our next tutorial: Creating a Digg Desktop Application Using WPF. ...
Working With Templates in Web Publisher content. Developers can create templates that are XML/XSL based and use the Web ... It also provides the ability to set validation on certain. controls. ...
CodeProject: MasterPages reinvented - a Component Based Template ... They contain the content which is being assigned to regions of the used template . ... We will create a template (plain old user control) which hosts ...
Jit Ghosh's WebLog : WPF Control Templates - An Overview Control Content Model & Control Templates .... we see a Border control being used in the template, with its BorderBrush and BorderThickness properties set ...
The Official Microsoft Silverlight Site In Silverlight, you create a control template when you want to customize a ... behavior specifies the appearance of a control when it is in a certain state. ...

Videos:
how to lose wight when you are over 600 lbs Obaid Karki An Outcast Spinoziste Pantheon Hexalingual Automath Former UAE Under Secretary Independant Street-Knowledge Urban Talkshow Guru. Unaffili...
Frequent binge eating is the most common eating disorder Obaid Karki An Outcast Spinoziste Pantheon Hexalingual Automath Former UAE Under Secretary Independant Street-Knowledge Urban Talkshow Guru. Unaffili...
Mac OS Automator: Doing things over and over is over. Google TechTalks June 27, 2006 Sal Soghoian ABSTRACT Mac OS X "Tiger" introduces Automator, a new application that automates anything on your compu...
Literate functional testing Google London Test Automation Conference (LTAC) Google Tech Talks September 7th, 2006 Presenters: Robert Chatley and Tom White
django: Web Development for Perfectionists with Deadlines Google TechTalks April 26, 2006 Jacob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared to Ruby-on...




Search This Site:










hi can u plz send me the code to connect lotusnotes with asp.net

redirecttologinpage and all the fun that failure brings

how to append the a selected item from the sitemap

impersonate - seems to log on ok but cant access files ??? please help!

weird checkbox list behavior

how do i run code once?

<menu problem--want to hide the menu within menu>

change button image in fileupload control

cannot view the page

export from access to sql

check property value

home page blog

datetime

vs 2008 run with both versions of ajax toolkit

documents module in ibuyspy

stress testing for possible platform change

freezing with dotnetnuke

close verb for webpart

sitemaps and security trimming

bound dropdownlists loose selecteditem.value on form submit

major password problem please help

advanced grid custom module

missing script.sql

.dll file for voting control?

passing parameters in asp.net

are there any os page loading controls out there

asp.net 2.0 - website configuration management from iis

default portal alias rename

how can i make all <body> tags in a webapplication server controls?

strange login behaviour

 
All Times Are GMT