Right and left click on Page

1 Answer 24 Views
PageView
Fabrice
Top achievements
Rank 2
Iron
Iron
Fabrice asked on 15 Jul 2024, 03:03 PM

Hi,

When I "left click" on a header of a page, the page is changed before I release the mouse click.

Also, when right clicking it's selecting/unselecting a page, it looks strange.

Before I override many things, how would you do to change this behavior in a clean way? We won't deactivate right-click because we do have context menu to save the opening tab on new view show.

Thanks a lot in advance!

Simon

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 16 Jul 2024, 12:33 PM

Hello, Fabrice,

The page selection in RadPageView is performed on OnMouseDown when the mouse Left button is pressed. It works similarly to switching tabs in an internet browser or Visual Studio. This is desired behavior in RadPageView and it cannot be easily changed. 

As to the right click, I observe some differences in the behavior on my end and what you described. The pages are not selected when I press the Right mouse button. But you said that "Also, when right clicking it's selecting/unselecting a page, it looks strange."

Please see the following gif file that demonstrates the behavior on my end when right-clicking over pages. As you can notice the selected page does not change:

I am also attaching my test project. Can you give it a try and see how the mouse selection works. Is the behavior different on your end? Can you please provide more information what is the desired behavior that you want to have. 

I hope this information is useful. Let me know if I can assist you further. 

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Fabrice
Top achievements
Rank 2
Iron
Iron
commented on 19 Jul 2024, 07:12 AM

Hi,

Thanks for your reply. I think it's all happening in our custom theme, I'll address those who have done this.

Thanks again

Tags
PageView
Asked by
Fabrice
Top achievements
Rank 2
Iron
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or