I want to implement modeless dialog boxes in ExtJS.
For exapmle, the new pop-up window/panel should not leave the originating screen as inactive. Both should be accessible at the same time.
How do we that?
The modal option on Ext.Window defaults to false, so just don't include that option and the dialogs won't be modal.
Related
I am new to salesforce and there is a requirement to show a popup or dialog box (vf page) on click of menu tabs.
Please guide me if this can be done.
If you are using JQuery on visual force page then you can use JQuery Dialog to have pop up.
Please refer this link.
I upgraded angular material from rc1 to 1.05.
Now the dialog is scrolling to the bottom of the list when my dialog loads.
Any ideas as to why it is scrolling to the bottom of the list.
Thanks
This may be a bit late but I think I've figured out what is happening.
$mdDialog has an option:
focusOnOpen - {boolean=}: An option to override focus behavior on open. Only
disable if focusing some other way, as focus management is required for
dialogs to be accessible. Defaults to true.
This implies that to ensure the dialog is focused, something in the dialog is focused.
My experience of this is that the buttons at the bottom of the dialog where being focused by default, and thus the dialog was scrolling down to show them.
My fix was to add md-autofocus to the input I had at the top of the dialog.
In my app I have few windows which are displayed using ShowDialog, but we are trying to implement an Alerts window, if Alert window is raised we want it to be always on top even if the ShowDialog window are raised afterwards.
I have set the Alerts window's TopMost and TopLevel properties to 'true', but if a ShowDialog window comes up later, have noticed that even though Alerts window is on top, it is not clickable, while the ShowDialog window is behind, it is clickable and only after closing it the Alerts Window is accessible.
Any idea on how to achieve this?
ShowDialog creates a Modal dialog. This means that the dialog MUST be closed before interaction is allowed with the main application (this is enforced by windows).
You need to use modeless dialogs (Use Show instead of ShowDialog to achieve this), or as #rheitzman suggested, make the alerts a different application so the modal dialog rules no longer apply.
I have a WPF app where I make my screen dark and show the user a popup for him to fill in some data.
One of the controls hosted in that popup might raise a modal window asking the user to confirm some validation results, when that modal is raised it doesn't show because the popup takes precedence in the UI.
Is there a way to force the modal be shown over the popup?
Can anybody tell me how I can open popup by clicking only on Toggle button. Usually, combobox opens popup when you click anywhere. In our project we need to open popup only when user clicks on Toggle button. It's kinda urgent.
One approach would be to create a custom control. This would give you more control over all the parts that make up your combobox. http://blogs.msdn.com/b/sburke/archive/2008/03/22/tutorial-writing-a-templated-silverlight-2-control.aspx