I have created a windows form hosted control. And I want to change focus on button click of Hosted Control to another application inside Unified Service Desk.
On Button Click event I am using below code,
private void button1_Click(object sender, EventArgs e)
{
FireRequestAction(new RequestActionEventArgs("CRM Global Manager",
"ShowTab", "test application"));
}
but for some reason it is not getting fired. If i perform any other operation inside this code block like for example displaying a messageBox it works fine. But unable to fire this action.