Set Focus To Dynamic Control

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: John Bailo (jabailo_at_earthlink.net)
Date: 04/12/04


Date: Mon, 12 Apr 2004 18:40:46 GMT


I am having trouble setting focus to a dynacally added control.

If I register a client script block to set focus on load, and set the
focus to a control I add statically in the ASPX page, then focus is set
fine ( in this case a DIV that located within a scrollable DIV portal ).

If I use a FindControl method to grab a dynamically added control and then
set focus to it, the focus is not set.

If I do a view source, the control exists, and it's id exists, but the
focus is not set.

SmartNav does not work in this instance either.

-- 
W '04 <:> Open Source


Relevant Pages

  • Re: Herds of cats
    ... Alex Martelli wrote: ... company wanted to acquire control over Delphi, they'd try and buy Borland; to acquire control over Python what are they to do? ... hiring Guido and Alex is probably a step in the right direction;-) but would it be enough? ... The open source projects remain outwith the control of the company; ...
    (comp.lang.python)
  • Re: the free software paradigm [was Re: Amazon used lisp & C exclusively?
    ... There is generally little open source in the amateur observatory racket, ... hardware so there is little competition or incentive for the vendors to ... though the control model was simple enough that a reasonably skilled ...
    (comp.lang.lisp)
  • Re: Secret Source code ...
    ... And that's an application, not a control. ... There's a lot of really good code out there, open source and free in Windows. ... of a PDP-10 operating system whose acronym I've forgotten, ... but that was not an IBM product (IBM had a really good open-source library ...
    (microsoft.public.vc.mfc)
  • Re: Whats the story with the "end of XP"?
    ... your skills are as much on display as they are for an open source ... commercial SW simply because it was FOSS for all the usual reasons... ... I can only assume the FOSS programmers don't actually ... control over your own business. ...
    (comp.arch.embedded)
  • General advice for starting a new open source project
    ... I am thinking of starting a new open source project using PHP/MySQL to ... other applications such as Turbo Lister, Warehouse control systems, ... install packages, use of DEFINE files etc., upgrade packages when users ...
    (php.general)