Hi. I would like to know if there is any way to delay a clicked tab from displaying until my corresponding MVC controller action is completed? The following code below calls an MVC controller "Controller" with the ActionResult "ControllerAction" and "message" is the name of the tab I am displaying for validation.
Currently, I have a function called within the if statement if(a_tabPageSelected == "MyTab") which takes a while to complete and would prefer if the tab section didn't appear until the function completes.
/// do stuff before tab page appears
/// now display tab page using some command and return View
message = $(e.item).find(