Ajax Update Panel

Discussion in 'ASP .Net' started by =?Utf-8?B?Qw==?=, Mar 9, 2007.

  1. Hi,

    I have a gridiew with a series of textboxes.

    When my user tabs out of the textbox i do some calculations.

    My gridview is on an ascx and my ascx is inside an UpdatePanel on my aspx.

    After the calculations are complete the focus is lost from the last textbox
    that the user was in. I want the cursor to stay on the control the user has
    tabbed to.

    How can I achieve this?
     
    =?Utf-8?B?Qw==?=, Mar 9, 2007
    #1
    1. Advertising

  2. =?Utf-8?B?Qw==?=

    bruce barker Guest

    you can not output javascript in a update panel postback. you need to
    register and end request handler (in javascript) when you make the panel
    update. this handler can then set the focus.

    -- bruce (sqlwork.com)

    C wrote:
    > Hi,
    >
    > I have a gridiew with a series of textboxes.
    >
    > When my user tabs out of the textbox i do some calculations.
    >
    > My gridview is on an ascx and my ascx is inside an UpdatePanel on my aspx.
    >
    > After the calculations are complete the focus is lost from the last textbox
    > that the user was in. I want the cursor to stay on the control the user has
    > tabbed to.
    >
    > How can I achieve this?
    >
     
    bruce barker, Mar 9, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?cm9kY2hhcg==?=

    datalist and ajax update panel

    =?Utf-8?B?cm9kY2hhcg==?=, Oct 2, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    733
    =?Utf-8?B?cm9kY2hhcg==?=
    Oct 2, 2006
  2. =?Utf-8?B?cm9kY2hhcg==?=

    ajax update panel trigger

    =?Utf-8?B?cm9kY2hhcg==?=, Oct 6, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    535
    =?Utf-8?B?cm9kY2hhcg==?=
    Oct 7, 2006
  3. GaryDean

    AJAX Update Panel w I.E.7 Problem

    GaryDean, Dec 4, 2006, in forum: ASP .Net
    Replies:
    10
    Views:
    5,047
    Steven Cheng[MSFT]
    Dec 12, 2006
  4. =?Utf-8?B?Qw==?=

    ASP.NET Ajax Update Panel in ContentPlaceHolder

    =?Utf-8?B?Qw==?=, Feb 12, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    1,325
    =?Utf-8?B?Qw==?=
    Feb 12, 2007
  5. DanWeaver
    Replies:
    2
    Views:
    564
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Feb 22, 2007
Loading...

Share This Page