Skip to Content
avatar image
Former Member

How to get the ID of any control in another controller ?

Hi

How to get id any control from View1. to in App.controller
can any1 help me?

capture.jpg (17.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 11, 2017 at 11:56 AM

    usually it is bad idea.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 13, 2017 at 08:16 AM

    Please you the Event bus concent available in SAP UI5 to access a method in another view controller and there you can easily access the control of that view.

    You can search for Event Bus implementation in SCN or goolge, you will easily find the code.

    Best Regards,

    Mahesh

    Add comment
    10|10000 characters needed characters exceeded