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: Fri, 22 Jun 2007 08:56:00 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.datagridcontrol        back       

Thread Index
  1    Gary W


DataGrid Focus   
Here is my problem.  I have a datagrid that when you click on a row, it goes 
into edit mode and depending on where I clicked it the focus is on that 
control using Control.Focus().  I also have code so if I keep pressing tab it 
will create a new row and focus on the newly created row.  Recently I put the 
same datagrid into an asp.net ajax update panel and now the focus is outside 
of the update panel when I click on a row.  It also breaks my new row focus. 

So I tried using javascript code on a timer so it can focus, but it’s not a 
100%.  From my analysis so far, I believe that because the whole page isn’t 
reloaded the javascript in .Focus() isn’t executed.  My question is this, is 
there a way to focus with asp.net ajax or is there any other solutions?

Thanks,
Gary
Date:Fri, 22 Jun 2007 08:56:00 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


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