46
Views
4
Comments
How to make a button right clickable
Question
Application Type
Reactive

Hi there,

I was wondering how to make it possible to make a button right clickable so the user can open the page in new window or tab, if it would like.

As you can see in the screenshots, it now does not give the possibility. I want it like can be seen in the other screenshot.



Scherm­afbeelding 2024-02-13 om 08.48.49.png
Scherm­afbeelding 2024-02-13 om 08.48.59.png
2024-01-18 12-42-28
Bogdan Boglea

Hello,


What if you try using a link instead of a button? And apply same CSS classes so it simulates a button look & feel in the UI, but acts as a link?


Regards,

Bogdan

2024-02-27 12-57-22
Sam Rijkers

Or consider using a link (that looks like a link)

There are lots of articles on when to use links vs buttons. For example:
- https://www.digitala11y.com/links-vs-buttons-a-perennial-problem/

I'd advice to stick to best practices / what's most frequently used. This will make it much easier for users to interact with your application.

2024-12-10 04-40-04
Gitansh Anand

Hi @Eric van Heesen, I am guessing you want to show multiple options to your users, if so please try the "OverflowMenu" from "OutSystemsUI".

Thanks
Gitansh Anand

2023-04-16 15-25-31
Krishnanand Pathak

Hi Eric,


You can use a container with "btn btn-primary" classes and wrap it with a link as also suggested by
Bogdan. Also add text inside container.
Result will be same as shown below.
 


Regards
Krishnanand Pathak

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.