Hi David ,
Inside your controller, please add this function and try .
getRouter : function()
{
return sap.ui.core.UIComponent.getRouterFor(this);
},
and then write :-
this.getRouter().navTo("myview1routername");
Hi David ,
Inside your controller, please add this function and try .
getRouter : function()
{
return sap.ui.core.UIComponent.getRouterFor(this);
},
and then write :-
this.getRouter().navTo("myview1routername");