Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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 September 24th, 2004, 06:36 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default databound grids with html controls inside


Hi all,
  I have a simple .ASPX webform that uses a databound grid.
  I have added an extra column to this grid which holds an
  HTML checkbox. (I dont want any postbacks when I check/uncheck
  the checkbox on each row).

  My question - when I hit a postback button - how can I loop through
  the datagrid rows and test if the HTML checkbox is ticked for
  each row?

  (NB - I have tried adding in a server checkbox - not databound - but it never appears in my grid ?

All suggestions much appreciated as always.

Cheers
Chas.

 
Old September 25th, 2004, 12:14 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello badgolfer,
Take a look at this,
http://p2p.wrox.com/topic.asp?TOPIC_ID=17583
it helps you in more detail,if not ask again,
Quote:
quote:Originally posted by badgolfer
 (NB - I have tried adding in a server checkbox - not databound - but it never appears in my grid ?
in DataGrid,you should bind every object you put inside your grid

--------------------------------------------
Mehdi.:)





Similar Threads
Thread Thread Starter Forum Replies Last Post
set tabindex for controls in two sync grids toshi C# 0 September 27th, 2007 03:59 AM
"Proper" way of updating bound controls and grids VBM2 Pro Visual Basic 2005 1 March 12th, 2007 09:36 AM
How to get to controls inside DataList? rsearing ASP.NET 2.0 Basics 1 March 1st, 2007 09:14 AM
find all the controls inside any table amartya_mandal ASP.NET 1.0 and 1.1 Professional 10 October 24th, 2006 08:35 AM
Multiple Databound controls for one database field melbsurfer ASP.NET 2.0 Basics 6 March 29th, 2006 06:33 PM





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