Declined
Last Updated: 07 Apr 2023 11:26 by ADMIN
sujana
Created on: 03 Apr 2023 17:48
Category: UI for Blazor
Type: Bug Report
0
get last focused item in the Telerikform

Hi Team,

How to get the last focused element in the Telerik Form?

Example: I have a window with a TelerikForm with 10 textboxes and on click of close. I need to know what is the last focused element 

Thanks,

sujana

1 comment
ADMIN
Dimo
Posted on: 07 Apr 2023 11:26

Hi Sujana,

Please do not use bug reports to ask technical support questions.

To detect focus and save focus information, use FormItem <Template> with something like this inside:

        <FormItem>
            <Template>
                <div @onfocusin="@( () => MyFocusHandler("first name") )">
                    <TelerikTextBox @bind-Value="@Person.FirstName" />
                </div>
            </Template>
        </FormItem>

Regards,
Dimo
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.