CodeVerge.Net Beta


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

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 11/15/2004 4:53:56 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
emagine
Asp.Net User
Template control11/15/2004 4:53:56 PM

0/0

Hi,

Let me describe what I want to accomplish :

1. My .aspx page should contain a piece of HTML code that will be used as a template for my products.
2. The code-behind file should read this product template, apply it for each product and then add the product to the .aspx page.
3. The template contains child controls.

The .aspx file will contain following code :
<myControls:block id ="block1" runat="server">
<item>
The product name is <asp:label runat="server" />
</item>
</myControls:block>

The code-behind file should read the "item" template. The product name should be filled in and the resulting html code should be added to the block container.

How can this be accomplished ?
REMARK : I CANNOT use databinding here !!!

Greetz
Dave
Scott Mitchell
Asp.Net User
Re: Template control11/17/2004 5:35:33 AM

0/0

Perhaps this article of mine will prove helpful: Building Templated Custom ASP.NET Server Controls (http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/ASPNet-BuildTemplatedSrvrCntrls.asp).

Happy Programming!
Happy Programming!


-- Scott Mitchell
-- [email protected]
-- http://scottonwriting.net/sowblog/
-- http://www.4GuysFromRolla.com/ScottMitchell.shtml
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 3.5 in C and VB: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1704, Published: 2008
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Silverlight 1.0 Authors: Devin Rader, Jason Beres, J. Ambrose Little, Grant Hinkson, Pages: 320, Published: 2007
Project Arcade: Build Your Own Arcade Machine Authors: John St. Clair, Pages: 504, Published: 2004
Silverlight 2 Recipes: A Problem-Solution Approach: A Problem-Solution Approach Authors: Jit Ghosh, Rob Cameron, Pages: 616, Published: 2008
Lean Six Sigma Demystified Authors: Jay Arthur, Pages: 252, Published: 2006
Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter Kit: Express Edition Starter Kit Authors: David Sussman, Alex Homer, Pages: 312, Published: 2006
Professional ASP.NET 1.1 Authors: Alex Homer, Dave Sussman, Rob Howard, Brian Francis, Karli Watson, Richard Anderson, Pages: 1337, Published: 2004
ASP.NET 2.0: Your Visual Blueprint for Developing Web Applications Authors: Chris Love, Pages: 339, Published: 2007
ASP.NET: Tips, Tutorials, and Code Authors: Scott Mitchell, Pages: 878, Published: 2002

Web:
Alex Lvovich : Creating template control in ASP.NET May 8, 2005 ... This article is about to show how to create a template for control in ASP.NET. This is a small introduction to the subject of control ...
TemplateControl Class (System.Web.UI) Provides the Page class and the UserControl class with a base set of functionality.
Control.TemplateControl Property (System.Web.UI) Gets or sets a reference to the template that contains this control.
CodeProject: Template Rounded Corner Control. Free source code and ... Aug 3, 2004 ... Enhance Rounded Corner Control to support template.; Author: billxie; Section: Custom Controls; Chapter: Web Development.
Silverlight Tutorial Part 7: Using Control Templates to Customize ... This will allow our control template to adapt as properties are set on the ... Now that we've covered some of the basics of how Control Templates work, ...
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 ...
Free Control Template Ideas - AGKDesigns « WPF Wonderland Jan 30, 2009 ... One of my favorite features in WPF and Silverlight is the control template. You can make powerful changes to your UI via templates without ...
hook_theme_registry_alter for advanced template control | Shell ... The theme system in D6 does an excellent job of handling template files which will work well for most people. If you need very specific control over the ...
Create Portal Template: Control Access Select to enable page designers to choose different access control settings when they create or edit pages based on this template. ...
Control Template in DataGrid, Repeater and DataList Controls Explains how to use a template to customize the layout of DataGrid, Repeater and DataList controls.

Videos:
66. Post Template - Blogger 2.0 http://www.RecognizedExpert.com/blogger/ has the other 117 Blogger training videos. This video will show you how to create a post template in ...
Collective inspection of regular structures using a swarm of ... We present a series of experiments concerned with the inspection of regular, engineered structures carried out using swarms of five to twenty ...
Civil 3D Label Style Control powered by Jump Start the ... Modifying an AutoCAD Civil 3D contour label style is made easy with the mother lode of useful styles provided by cadpilot.com and Jump Start the ...
LemurDJ Template Short demo of some basic functions of my Lemur DJ template. I am using a Jazzmutant Lemur and Ableton Live, which are linked by APIMidi ...
Cisco Wireless Control System Video Data Sheet Learn more about the Cisco Wireless Control System - the industry's leading management platform for WLAN planning, configuration, monitoring and ...
Replacing Visual Tree with Control Template Using a control template to replace the visual tree of a control
Photo Montage Sample This is a short sample of 3D Photo Montage created by a template developed by www.3dtime.com. With this template, you can control lots of things ...
Fashion osCommerce template Make shopping interesting on your site. This template features an innovative module that allows your customers to customize views of the products ...
Joomla! - Adding and Controlling new menus Here is a quick overview of how to add a menu. 1. Add your menu through the menu manager. Log in to the administrator panel, click menu, click ...
Accessible Talking Book Template for Boardmaker Plus This video shows the capabilities of the talking book template for Boardmaker Plus availabe on my blog, yuichisgames.blogspot.com. It is the same ...




Search This Site:










enable design time support for custom control in repeater

addparsedsubobjects vs other methods for persisting control properties

collection does not persist in custom control

creating a custom control with a child tag

create webmatrix toolbox component

controls reading from db

dropdownlist with autocomplete and autopostback

user control inheritance and properties

affinity, gate.com, valueweb

custom control event.

dynamic user controls as objects

design time error with arraylist property

object reference not set to an instance of an object

best practices question -- securing my site on a shared host

scrollable datagrid

client site validate

webhost4life quits sql express....

composite control at design time with dropdownlist

help with obtaining ms sql server and ms access license for new hosting operation

building .net controls through reflection

paging in custom control

how to add a datasource prop bindable at design time to my composit custom control?

postback counter in viewstate

beginner new help finding a website host

custom server control designer icon

problem with the postback on server control...

another tool

customvalidator inside a server control?

viewstate on adiv

wierd behavior dragging controls from toolbox onto template

  Privacy | Contact Us
All Times Are GMT