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: Sat, 5 May 2007 13:16:54 +0600,    posted on: microsoft.public.dotnet.framework.aspnet.datagridcontrol        back       

Thread Index
  1    Dev


Strange Problem: Templated checkbox column   
Hi,

I've coded a templated column that will add a column of asp:Checkboxes 
including an asp:checkbox on the column header, to a gridview. The checkbox 
on the column header has Auto-postingback enabled and I've added an event 
hanlder to handle the CheckChanged event. I've put some code to the 
CheckChanged event hanlder. The templated column column is very simple 
doesnt do anything other than mentioned above.

If I add this templated column on fly to a gridview which is also built 
dynamically, then CheckChanged event handlder fires when I tick/untick the 
column header checkbox, so no problem.

But if I add this templated column on fly to a gridview added to the page in 
the designmode, then CheckChanged event handler fires only when I tick the 
checkbox on the column header. Event hanlder is not called when I untick the 
checkbox.

Anybody know reason to this behavior? How to change this behavior?

Dev
Date:Sat, 5 May 2007 13:16:54 +0600   Author:  

Google
 
Web dotnetnewsgroup.com


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