Hi,
I am trying to get all RadDock and RadDockZone objects. Code goes like this:
First I get all IDs from a page since controls are generatet from code behind:
$('.RadDockingZone').each(function() {
var testZone = this;
zoneIDs.push(testZone.id);
});
$('.RadDockableObjectFixed').each(function() {
var testDock = this;
dockIDs.push(testDock.id);
});
This is a part of code that creates problems:
for (i = 0; i < dockIDs.length - 1; i++) {
var zone = $find(zoneIDs[i]);
var dock = $find(dockIDs[i]);
}
These lines always returns nulls
var zone = $find(zoneIDs[i]);
var dock = $find(dockIDs[i]);
Any ideas what is causing a problem?
I am trying to get all RadDock and RadDockZone objects. Code goes like this:
First I get all IDs from a page since controls are generatet from code behind:
$('.RadDockingZone').each(function() {
var testZone = this;
zoneIDs.push(testZone.id);
});
$('.RadDockableObjectFixed').each(function() {
var testDock = this;
dockIDs.push(testDock.id);
});
This is a part of code that creates problems:
for (i = 0; i < dockIDs.length - 1; i++) {
var zone = $find(zoneIDs[i]);
var dock = $find(dockIDs[i]);
}
These lines always returns nulls
var zone = $find(zoneIDs[i]);
var dock = $find(dockIDs[i]);
Any ideas what is causing a problem?