DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 21 Aug 2007 05:56:54 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Scott


Datagrid problems using asp.net 1.1, sorting, displaying check boxes   
Hello all and thanks in advance for any help you may be able to offer
me.

I am quite new to asp.net and am trying to work with a datagrid but am
having some problems with it.

Here's the problem...

My datagrid displays 2 columns of checkboxes and allows the user to
select the check boxes and sort the datagrid.  My first problem, if
the user checks a check box and then sorts the grid, the grid appears
to sort properly BUT I loose the checkbox that was checked.  The grid
is wired to a dataset/datatable.

What normally should be done in this situation?  Postback event when a
checkbox is selected update the dataset and then repopulate the
datagrid with the updated dataset?...  I was thinking I would like the
grid to just hold onto the check box values during the sorting and
then when the user moves to the next screen read through each row in
the datagrid and process the checked boxes accordingly...

Any ideas and code examples would be GREATLY appreciated!!!

Thanks,
Scott
Date:Tue, 21 Aug 2007 05:56:54 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us