Thursday, February 3, 2011

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.

No comments:

Post a Comment

Retrieving Calendar of a Bookable Resource in Dynamics

There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...