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

Set focus on next control after post back

1 Answer 141 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
raphael
Top achievements
Rank 1
raphael asked on 04 Feb 2009, 03:45 PM
Hi everybody,

I have a little problem that i getting me crazy.
I have a ajax page with different comboboxes, after the a selection I have to change some data on different controls, so I have to postback my page. When the page reload I lose the focus on my dropdown list.
I've tried to set the focus, via code with the code

RadAjaxManager.FocusControl(myControl);, via javascript and using the radAjaxPanel.

But none of this solutions worked for me.

I just wanted to ask if somebody of you has some advice for me to resolve my problem?!

Thank you very much

Raphael

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 09 Feb 2009, 11:46 AM
Hi raphael,

Indeed, the proper way to achieve your goal is to use the FocusControl method of RadAjax. Therefore I suggest that you send us the problematic page, so I could try finding what could be wrong in your case.

Looking forward your reply,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
raphael
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or