Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Ajax Update Panel

Reply
Thread Tools

Ajax Update Panel

 
 
=?Utf-8?B?Qw==?=
Guest
Posts: n/a
 
      03-09-2007
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?

 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      03-09-2007
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?
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Layout within Ajax Update Panel in Visual Studio DanWeaver ASP .Net 2 02-22-2007 09:57 PM
ASP.NET Ajax Update Panel in ContentPlaceHolder =?Utf-8?B?Qw==?= ASP .Net 0 02-12-2007 04:26 PM
AJAX Update Panel w I.E.7 Problem GaryDean ASP .Net 10 12-12-2006 06:07 AM
ajax update panel trigger =?Utf-8?B?cm9kY2hhcg==?= ASP .Net 2 10-07-2006 01:49 AM
datalist and ajax update panel =?Utf-8?B?cm9kY2hhcg==?= ASP .Net 2 10-02-2006 07:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57