I need to test whether or not a RadWindow is in the Windows collection of a RadWindowManager.
"Easy" I thought, I'll add an extension method ...
"Searching for a blank ID is not supported)"
id = ID.ToLower();
(WindowManager.Windows.Count == 0)
RadWindow result =
(window.ID.ToLower() == id)
result = window;
However, when called it always throws an exception in the test if(window.ID.ToLower() == id) and reports the window.ID is null.
If I drill down through the object's structure all the way to WebControl I can see that, in fact, ID is
set but it isn't
my value (the one assigned in the markup), but, rather is an automagically assigned value like cl001
OK, so you
are managing the ID, but I can't find a property anywhere that has the value that I
assigned and that I can test against.
What am I missing?