Hi there,
I have a Splitter control, with two RadPane controls inside. The first one (left) contains a tree control, the second one (right) another Splitter (right/top) with a RadGrid and (right/bottom) an empty pane which ContentUrl should be updated. There is also an AjaxManager in the page. Both the tree and grid are subscribed to this RadAjaxManager control. My questions are:
Before using the ContentUrl protery of the RadPane showing a external page, I was using an IFrame tag, with runat="server", and I was updating its SRC attribute. The IFrame control was added to the AjaxManager and it worked perfectly. But I also had resizing problems and if I could use the same RadPane to show a page it'd be awesome.
If anyone has found a solution for this or has a clue on what's going on, it'd be much appreciated.
Thank you in advance!
I have a Splitter control, with two RadPane controls inside. The first one (left) contains a tree control, the second one (right) another Splitter (right/top) with a RadGrid and (right/bottom) an empty pane which ContentUrl should be updated. There is also an AjaxManager in the page. Both the tree and grid are subscribed to this RadAjaxManager control. My questions are:
- Which control should I add to the AjaxManager if I want the (right/bottom) RadPane updated? Everything is connected in an Ajax scenario so if I don't mention this Pane, nothing happens, but no errors occur either. I can see, debugging my code, that the ContentURL property is updated, but I see no changes. I guess it is because of Ajax.
- I have tried to add the main Splitter, the splitter in the right side, and the (right/bottom) Pane. The results are errors. Firefox says "Invalid JSON primitive: undefined". IE 7 says: "htmlfile: unknown runtime error", and it stops in this code line:
function Sys$WebForms$PageRequestManager$_updatePanel(updatePanelElement, rendering) { |
|
for (var updatePanelID in this._scriptDisposes) { |
if (this._elementContains(updatePanelElement, document.getElementById(updatePanelID))) { |
var disposeScripts = this._scriptDisposes[updatePanelID]; |
for (var i = 0; i < disposeScripts.length; i++) { |
eval(disposeScripts[i]); |
} |
|
delete this._scriptDisposes[updatePanelID]; |
} |
} |
|
this._destroyTree(updatePanelElement); |
|
|
updatePanelElement.innerHTML = rendering; /* <-- ERROR */ |
} |
|
Before using the ContentUrl protery of the RadPane showing a external page, I was using an IFrame tag, with runat="server", and I was updating its SRC attribute. The IFrame control was added to the AjaxManager and it worked perfectly. But I also had resizing problems and if I could use the same RadPane to show a page it'd be awesome.
If anyone has found a solution for this or has a clue on what's going on, it'd be much appreciated.
Thank you in advance!