Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Customize DataList ItemType?

Reply
Thread Tools

Customize DataList ItemType?

 
 
chuck@digitalinnovators.com
Guest
Posts: n/a
 
      01-31-2005
Is it possible to create my own DataList ItemTypes? What I'd love to
do have code like:

<ME:MyDataList id="lst" runat="server">
<ParentItemTemplate>
I'm a parent and I have my own controls.
</ParentItemTemplate>
<ChildItemTemplate>
I'm a child and I have my own controls too.
</ChildItemTemplate
</ME:MyDataList>

I have very different layouts depending on the type of data being bound
to the datalist and I'm trying to avoid showing/hiding countless items
inside the ItemTemplate based on the type.

Thanks.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering DataList EditItemTemplate from Outside of the DataList Luis Esteban Valencia ASP .Net 1 01-06-2005 07:32 PM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll ASP .Net 8 09-09-2004 10:13 PM
Click event in a datalist to post back datalist properties Steve Lloyd ASP .Net 1 05-26-2004 04:07 AM
DataList in DataList acko bogicevic ASP .Net 2 11-11-2003 08:31 AM
Datalist in Datalist How? Gönen EREN ASP .Net 0 08-22-2003 02:41 PM



Advertisments