Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 December 28th, 2006, 02:54 AM
Registered User
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Findcontrol in headertemplate of datagrid

I am not been able to access a control which is in the HeaderTemplate of a datagrid using findcontrol..

I even try by iterating through the dataitems but without any success.

Can anybody tell me if there us any other way to do it..


 
Old January 4th, 2007, 03:41 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dataitems refers to particulr row record of the datagrid, which are uneder itemtemplate.So findcontrol will work for header template.
Why u want to access that. bcoz it will respond to any events of datagrid.

Bijgupt





Similar Threads
Thread Thread Starter Forum Replies Last Post
findcontrol in a headertemplate of datagrid S_Dogra ASP.NET 1.0 and 1.1 Basics 0 December 28th, 2006 02:52 AM
FindControl Wervis C# 7 November 30th, 2005 09:51 AM
databound headertemplate collie VB.NET 2002/2003 Basics 0 March 7th, 2005 10:31 AM
FindControl dkr72 Excel VBA 0 January 19th, 2005 09:55 AM
Problem with FindControl RussC Excel VBA 1 June 16th, 2004 11:58 AM





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