Click here to Skip to main content
15,909,829 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: UI Design Question Pin
_Maxxx_22-Dec-15 20:04
professional_Maxxx_22-Dec-15 20:04 
GeneralRe: UI Design Question Pin
Brady Kelly22-Dec-15 20:33
Brady Kelly22-Dec-15 20:33 
GeneralRe: UI Design Question Pin
_Maxxx_22-Dec-15 20:55
professional_Maxxx_22-Dec-15 20:55 
JokeRe: UI Design Question Pin
Brady Kelly22-Dec-15 20:57
Brady Kelly22-Dec-15 20:57 
GeneralRe: UI Design Question Pin
_Maxxx_23-Dec-15 0:18
professional_Maxxx_23-Dec-15 0:18 
GeneralRe: UI Design Question Pin
Nagy Vilmos22-Dec-15 20:42
professionalNagy Vilmos22-Dec-15 20:42 
GeneralRe: UI Design Question Pin
_Maxxx_22-Dec-15 21:00
professional_Maxxx_22-Dec-15 21:00 
GeneralRe: UI Design Question Pin
Nagy Vilmos22-Dec-15 21:25
professionalNagy Vilmos22-Dec-15 21:25 
Yuk, you're getting into multiple behaviour territory and there be dragons!

Going back to the 'one thing == one action' concept, the submit control should do just that, submit the action.
Then what happens? It depends on the state of the dialog. If you allow the dialog to be pinned then when you submit the dialog will remain if it's pinned and otherwise it closes. Actually, with pinned dialogs, you can get rid of the ugly clear/close behaviour. When the dialog is pinned, the button clears the dialog, otherwise it closes; tell the dirty/clean to FOAD.

To get around slow loading, why not early load them? After starting up, the UI container should be able to pre-load any dialogs that may be needed and that you know are slow loaders. Even better would be to take a bloody big hammer and review how the dialog loads. What is needed to get it into a safe state? The normal problem here is getting in context data, populating look-ups and validators. This can, and should, be done later in the cycle. Load the dialog, show it and then start the network traffic to get the look-ups.

There you go, my 483p worth.
veni bibi saltavi

GeneralRe: UI Design Question Pin
_Maxxx_23-Dec-15 0:17
professional_Maxxx_23-Dec-15 0:17 
GeneralRe: UI Design Question Pin
Jörgen Andersson22-Dec-15 21:04
professionalJörgen Andersson22-Dec-15 21:04 
GeneralRe: UI Design Question Pin
_Maxxx_23-Dec-15 0:20
professional_Maxxx_23-Dec-15 0:20 
GeneralRe: UI Design Question Pin
Nagy Vilmos23-Dec-15 0:35
professionalNagy Vilmos23-Dec-15 0:35 
GeneralRe: UI Design Question Pin
Herbie Mountjoy24-Dec-15 17:03
professionalHerbie Mountjoy24-Dec-15 17:03 
GeneralRe: UI Design Question Pin
Kornfeld Eliyahu Peter22-Dec-15 22:11
professionalKornfeld Eliyahu Peter22-Dec-15 22:11 
GeneralRe: UI Design Question Pin
Nagy Vilmos22-Dec-15 23:37
professionalNagy Vilmos22-Dec-15 23:37 
GeneralRe: UI Design Question Pin
_Maxxx_23-Dec-15 0:22
professional_Maxxx_23-Dec-15 0:22 
GeneralRe: UI Design Question Pin
Marc Clifton23-Dec-15 2:24
mvaMarc Clifton23-Dec-15 2:24 
GeneralRe: UI Design Question Pin
Mr Andy Martin24-Dec-15 0:48
Mr Andy Martin24-Dec-15 0:48 
GeneralRe: UI Design Question Pin
_Maxxx_24-Dec-15 0:52
professional_Maxxx_24-Dec-15 0:52 
GeneralRe: UI Design Question Pin
Member 264456724-Dec-15 3:41
Member 264456724-Dec-15 3:41 
GeneralRe: UI Design Question Pin
Member 894332424-Dec-15 5:28
Member 894332424-Dec-15 5:28 
RantRe: UI Design Question Pin
Member 1033810524-Dec-15 8:32
Member 1033810524-Dec-15 8:32 
GeneralRe: UI Design Question Pin
Gerry Schmitz24-Dec-15 9:18
mveGerry Schmitz24-Dec-15 9:18 
GeneralRe: UI Design Question Pin
thewazz24-Dec-15 11:52
professionalthewazz24-Dec-15 11:52 
GeneralRe: UI Design Question Pin
mbb017-Jan-16 4:17
mbb017-Jan-16 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.