Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

How to prevent a Tab from collapsing when I attempt to do so?

$
0
0

Hi,

I'm trying to wrap my head around a requirement where I need to prevent a user from collapsing the Tab once a certain condition is hit.

Now, I hit a condition and display a message using Xrm.Utility.alertDialog(). But after that, the tab goes ahead and collapses. Is there a way to stop this from happening?

Even I tried to expand the same tab in the callback of the above mentioned dialog box:

Xrm.Page.ui.tabs.get(data).setDisplayState("expanded");


The above doesn't work because the tab is collapsed only after my entire code has finished executing?
Any suggestions?

Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>