473,320 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

not sure if i did this correctly...

hey all,

i have a datagrid template column that has a checkbox in it's header item
and in its item. how do i access the header checkbox in my code behind?

thanks,
rodchar
Nov 19 '05 #1
2 871

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:08**********************************@microsof t.com...
hey all,

i have a datagrid template column that has a checkbox in it's header item
and in its item. how do i access the header checkbox in my code behind?

thanks,
rodchar


In the ItemDataBound event handler for the DataGrid, check to see if the
item type is a header and then use the Controls property of the item to get
the checkbox you want.

HTH,
Mythran

Nov 19 '05 #2
thank you this helped.

"Mythran" wrote:

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:08**********************************@microsof t.com...
hey all,

i have a datagrid template column that has a checkbox in it's header item
and in its item. how do i access the header checkbox in my code behind?

thanks,
rodchar


In the ItemDataBound event handler for the DataGrid, check to see if the
item type is a header and then use the Controls property of the item to get
the checkbox you want.

HTH,
Mythran

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: droog | last post by:
hi group! I am new to PHP and so far managed to find my answers by searching this group instead of posting repeating questions, but I don't know what to search for to get answer to this...
1
by: mr_burns | last post by:
hi, i am trying to use a function that will write html into empty <span> tags. the <span> tags will all be numbered incrementally and written to using the same function each time. below is my...
14
by: Simon Templar | last post by:
I have had problems several times with links to files to download. In one case I had a text file with different extension than txt, that, in case the user has the associated application installed,...
1
by: VMI | last post by:
I have several procedures that are executed when the Timer.Tick event is run. How can I make sure that those procedures are not executed again (by the Tick event) if the previously-called...
8
by: Radith | last post by:
Hi All, I have a number guessing game in which users try to guess a random number. Obviously, input is required of type int. BUT, when a user inputs a string the program will result in an...
9
by: Brad Wood | last post by:
I know 2.0 supports "anonymous methods" (or "closures"), but I don't see the ability to assign a block of code to a variable (I think they are simply "blocks" in Ruby). Am I correct? They seem...
37
by: yogpjosh | last post by:
Hello All, I was asked a question in an interview.. Its related to dynamically allocated and deallocated memory. eg. //start char * p = new char; ...
2
by: rachana | last post by:
Hi, I am trying to deploy a asp.net website developed using Visual Studio 2005 on server. Application works fine on development machine, but when trying to run on server I get following error...
3
by: naveenreddygopu | last post by:
hi, all am getting fallowing error at serverside, Could not load the assembly 'App_Web_wqcwjsz9'. Make sure that it is compiled before accessing the page. my .net(c#) file working...
5
by: enaz | last post by:
Ok, so, this is my first post, if there is any info i am leaving out please tell me this is the function: function mouseOver(c) { alert(c); <!-- just for debugging--> if (c.src ==...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.