This is a migrated thread and some comments may be shown as answers.

Ajaxing shows tabbing to next control then loses focus

3 Answers 26 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 20 Jul 2010, 08:26 PM
2009.3.1503.35

If I tab off a textbox configured using AjaxMgr with AutoPostback=true, the screen shows that the next control gets focus then the loadingpanel shows, after Ajax the next field loses focus.

Is there a way to make the next control get the focus after Ajax?

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 21 Jul 2010, 12:34 PM
Hi Lenny,

I would suggest you to use the Focus() method of the RadAjax controls. Please review the following help topic for more information on this method.
I hope this helps.



Regards,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Lenny_shp
Top achievements
Rank 2
answered on 21 Jul 2010, 03:42 PM
When I tab off the focus is set but immediately the loadingpanel shows, after loadingpanel ends the focus is lost.

This code is called from dynamically created user control.

Dim ajaxMgr As RadAjaxManager
 ajaxMgr = TryCast(Parent.FindControl("RadAjaxManager1"), RadAjaxManager)
 If ajaxMgr IsNot Nothing Then
     ajaxMgr.FocusControl(cboMailer)
 End If
0
Maria Ilieva
Telerik team
answered on 23 Jul 2010, 09:42 AM
Hi Lenny,

Will it be convenient for you to open a regular support ticket and send us runnable application so we could further research on your concrete application?


All the best,
Maria Ilieva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
Lenny_shp
Top achievements
Rank 2
Answers by
Maria Ilieva
Telerik team
Lenny_shp
Top achievements
Rank 2
Share this question
or