Javascript Window.Open and Window.ShowModelDialogBox

There are difference between these methods when used. One cannot state this is the best method as these are suited for different scenarios.


For an example if you want your child window to be on top of the parent window and you cannot do anything to do the parent window till you close the child window, you will probably use Window.ShowModelDialogBox method.


If you want to access the parent window information from child window you will have use Window.Open method as Window.ShowModelDialogBox will not keep tabs with the parent window once it is executed.


However Window.ShowModelDialogBox can be used to pass a parameter value to the parent window from the child window using a return value. 


I will post some more information about these that i have experienced later.

Comments

Popular posts from this blog

Error message “User does not have send-as privilege.” when sending emails programmatically in CRM 2011