web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to trigger a butto...
Power Apps
Suggested Answer

How to trigger a button's OnSelect that is in a component?

(0) ShareShare
ReportReport
Posted on by 2
Hi, I have a button in my component. I would like to trigger that button's OnSelect property using Select() function. I added event property (OnSelect) on the component, but I still can't trigger the button click on screen. The OnSelect is already working when clicking the component manually, but it is giving error "Select of a control that doesn’t have an OnSelect property" when using Select().
Categories:
I have the same question (0)
  • Suggested answer
    CU14010608-0 Profile Picture
    2 on at
    I solved it but please feel free to give other approach on doing this.
     
     
    In my component, I added output property as Action type named TriggerSelect
    MyComponent.TriggerSelect = Select(button_to_select)
    When I want to trigger a button click, I use MyComponent.TriggerSelect()

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard