Hello,
I am having an issue where I am implementing a portal with many pages, like Google IG. I am able to successfully create and select tabs such that the async trigger will refresh widget data. So, if I load the page, it populates all the Docks for the currently selected tab correctly. If I select a different tab, and then hit refresh, it will populate all of those tabs correctly.
Now, what I'm trying to accomplish is that when I select the new tab, after it loads the data it needs to trigger the RadDockLayout to repopulate for the new data retrieved on the server. Since my OnInit command adds all docks to the RadDockLayout each and every time from the updated datasource, I shouldn't need to do anything for this to work, other than cause an even similar to that of DockPositionChanged. That's not the case, though, since OnInit will fire *before* the update to change the tab page (it's on an UpdatePanel), populating with all the original controls, and then go and change the datasource from the tab select event. So I need a way of forcing this after the fact.
Unfortunately, I can't find a way to raise this command to repopulate the DockLayout since the tabs need to be in an UpdatePanel, I know the datasource is changed but the DockLayout doesn't. One way this is proven is that if I select a new tab, and then drag the previous tab's widget to a new place (it didn't get removed because no event was raised), then the whole page posts back and the correct docks are now displayed.
So I'm wondering how to entice the RadDockLayout to cause an event similar to DockPositionChanged to call OnInit and repopulate nicely?
I am having an issue where I am implementing a portal with many pages, like Google IG. I am able to successfully create and select tabs such that the async trigger will refresh widget data. So, if I load the page, it populates all the Docks for the currently selected tab correctly. If I select a different tab, and then hit refresh, it will populate all of those tabs correctly.
Now, what I'm trying to accomplish is that when I select the new tab, after it loads the data it needs to trigger the RadDockLayout to repopulate for the new data retrieved on the server. Since my OnInit command adds all docks to the RadDockLayout each and every time from the updated datasource, I shouldn't need to do anything for this to work, other than cause an even similar to that of DockPositionChanged. That's not the case, though, since OnInit will fire *before* the update to change the tab page (it's on an UpdatePanel), populating with all the original controls, and then go and change the datasource from the tab select event. So I need a way of forcing this after the fact.
Unfortunately, I can't find a way to raise this command to repopulate the DockLayout since the tabs need to be in an UpdatePanel, I know the datasource is changed but the DockLayout doesn't. One way this is proven is that if I select a new tab, and then drag the previous tab's widget to a new place (it didn't get removed because no event was raised), then the whole page posts back and the correct docks are now displayed.
So I'm wondering how to entice the RadDockLayout to cause an event similar to DockPositionChanged to call OnInit and repopulate nicely?