This is a migrated thread and some comments may be shown as answers.

[Solved] Custom attributes on radWindow object

1 Answer 207 Views
Window
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 15 May 2008, 07:13 AM
Hi,

Are there anyproblems with using custom attributes on a radWindow object. For example, I have the following code :

oWindow.setUrl(url);
oWindow.set_Title(title);
oWindow.set_Status(
' ');
oWindow.set_IconUrl(titleIconUrl);
oWindow[
"IsHidingFromCode"] = false;

The IsHidingFromCode attribute is set if hiding the window by calling  oWindow.hide(); in order to differentiate closing from code or by clicking the X button. I store this value against the radWindow as we can have mulitple radWindows instantiated.

It does work, but I wanted to check whether there are any circumstances in which radWindow wouldn't support this i.e. cross browser. I can't think that it would be a problem but you guys are the experts :-)

Many Thanks

John.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 16 May 2008, 08:45 AM
Hi John,

You should not experience problems with this approach and RadWindow. Of course if you encounter any difficulties, you just need to let us know - we will do our best to help.


Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
John
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or