TelerikButton is not working correct with EditForm
when i use
<input type="submit" class="btn btn-primary" value="Save" />
instead of
<TelerikButton ButtonType="@ButtonType.Submit">Save</TelerikButton>
im able to submit the form with hitting enter
i want this feature with TelerikButton
I created a simple project to test the problem but I couldn't reproduce it. I'm attaching a short video that I recorded during my test. Please let me know if I'm following the correct steps in the video.
Can you please try to apply the code to your business logic and tell me if it works as expected?
thanks it helped so much
but in a scenario
you first enter your name in a TelerikTextBox
then lets say you select your gender with TelerikDropDownList
now if you hit enter form wont be submitted
0
Accepted
Marin Bratanov
Telerik team
answered on 06 Jan 2020, 05:05 PM
Hello,
Thank you for the clarification. This is something we will be working on as part of the keyboard support in the components. Hopefully, this particular scenario will also be handled in our upcoming release that will ship this feature. If it does not make it now, it will be available in a later release, we definitely have it on our radar. In the meantime, you will be able to use the Tab key to focus the button and press Enter to invoke it.