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

[Solved] Set initial focus with Popup EditMode and Template EditForm

1 Answer 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wyatt
Top achievements
Rank 1
Wyatt asked on 28 Oct 2009, 04:33 PM
The solutions here do not work when using Popup EditMode and a Template EditForm.

The ItemCreated solution returns nothing for the EditFormUserControl.  If one changes the code so that the textbox to be focused is found, the inserted javascript seems to cause an endless loop.

The ItemDataBound solution finds an empty grid cell instead of the textbox to be focused.

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 28 Oct 2009, 05:09 PM
Hi Wyatt,

Please examine the following forum thread which elaborates on this subject and let me know if it helps to achieve the desired functionality.
http://www.telerik.com/community/forums/aspnet-ajax/grid/popup-edit-form-setting-focus-error.aspx

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Wyatt
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or