Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 24th, 2007, 08:41 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 238
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to rsearing
Default Remove ItemTemplate Item - Not EditItemTemplate

I'm trying to remove a label from the ItemTemplate of a DetailsView, but leave it for the EditItemTemplate. I can simply remove the label--easy enough--but it leaves the header. I want to remove this completely from theDetailsView. Is there a way to remove the header too from just one template?

(Reason why I want to remove this is it is a key to a different table. In the edititem, I place a dropdownlist that binds to a different datasource and selects the ID of the binded key--but I don't want a dropdown list in the itemtemplate and would rather just not show that field)

Thanks,
Rob






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Use ItemTemplate Editor wirerider ASP.NET 2.0 Basics 0 February 18th, 2006 02:59 PM
Remove item from an array? jefferis PHP How-To 5 November 27th, 2003 11:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.