Last post Nov 08, 2014 03:02 PM by Rion Williams
Sep 22, 2014 05:52 AM|maheshvishnu|LINK
On click edit button i am opening one telerik window,after minimizing this window,i clicked on Edit button one more window got opened,instead of opening existing window.
How to do this.
Nov 08, 2014 03:02 PM|Rion Williams|LINK
Generally, this will depend on what your "target" is that you are using for the
window.open() function call. If you want a new window to be opened each time, you would just need to use the '_blank' target as seen below :
// This will open a new window every time it is clicked
If you wanted the same window to be used each time, simply set your target to a specific value or string. This will check for the existence of this string when the window is opened and use the same window if one already exists (as opposed to '_blank'
which just opens a new one each time) :
// This will open and use the same window every time it is clicked
Based on your issue, it sounds like you are using the '_blank' target for all of your windows. Try changing it to a string besides '_blank' and you should be good to go.