TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
northover.karl
NA
3
0
Chkbox Controls in a DataGrid Header
Nov 4 2003 4:55 PM
Below I have ChkBoxes in a datagrid and it can pull the items out with the DataGridItem collection. But how do I get the value a check box in the HEADER of a data grid. I tried the DataGridColumns collection but not to much success. foreach (DataGridItem dataGridItem in dgProject.Items) { bool chkHello = ((CheckBox)dataGridItem.FindControl("chkHello")).Checked; bool chkBye = ((CheckBox)dataGridItem.FindControl("chkBye")).Checked; if (chkHello) {myArray.Add( new myArrayItem(dataGridItem.Cells{2].Text , "Hello"));} if (chkBye) {myArray.Add( new myArrayItem(dataGridItem.Cells{2].Text , "Bye"));}
Reply
Answers (
1
)
displying confirmotion box.
server side controls are not displaing in browser