Hello,
I have an aspx form with a window manager on there, and I am opening new windows client side based on user action. When the window is created, I want to set a custom icon that may be different depending on what the user clicked (Search, Edit Customer, Edit Order, New Order, etc...). The windows are opening fine, and the iconUrl is set, because I retrieve it later, and show it in a listing of open windows. However, only the default icon appears in the window's title. Am I missing a call or something to tell it to refresh the title bar?
Thanks in advance.
Lance
I am using the following code to open the windows.
I have an aspx form with a window manager on there, and I am opening new windows client side based on user action. When the window is created, I want to set a custom icon that may be different depending on what the user clicked (Search, Edit Customer, Edit Order, New Order, etc...). The windows are opening fine, and the iconUrl is set, because I retrieve it later, and show it in a listing of open windows. However, only the default icon appears in the window's title. Am I missing a call or something to tell it to refresh the title bar?
Thanks in advance.
Lance
I am using the following code to open the windows.
function OpenWindow(url, id, iconUrl) |
{ |
var wnd = $find(id); |
if (!wnd) |
{ |
wnd = window.radopen(url, id); |
if (iconUrl) |
{ |
wnd.set_iconUrl(iconUrl); |
} |
} |
else |
{ |
wnd.show(); |
} |
return false; |
} |