Hi everybody,
I'm testing Telerik controls in order to use them in a wss/moss custom application. I need help passing data between different Panels.
My final goal is to make refreshing different web parts when i click on a control on a single web part passing some data to the other web parts before they render again.
I designed my app with 2 panel: a menu area and a content area.
The idea was to customize the master page where I put:
As you can see in the first code block, I configured the RadAjaxManager in order to update the panels.
I had to pass data between the web part I will put in the panels:
For example: when I click on a control in the web part put in the menu panel I want the web part put in the CustomPanelMain will refresh with the id I chose.
I try to put data in the Page.Session, but I tested that the refresh on the main web part will start before the data is written in the menu web part.
What am I wronging? What do you suggest to do that?
Many thanks,
RF
I'm testing Telerik controls in order to use them in a wss/moss custom application. I need help passing data between different Panels.
My final goal is to make refreshing different web parts when i click on a control on a single web part passing some data to the other web parts before they render again.
I designed my app with 2 panel: a menu area and a content area.
The idea was to customize the master page where I put:
- 1 asp:ScriptManager
- 1 telerik:RadAjaxManager
| <asp:ScriptManager runat="server" ID="ScriptManagerMain" /> |
| <telerik:RadAjaxManager ID="RadAjaxManagerMain" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="CustomPanelMenu"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanelMain"></telerik:AjaxUpdatedControl> |
| <telerik:AjaxUpdatedControl ControlID="CustomPanelMain" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="CustomPanelMain"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanelMain"/> |
| <telerik:AjaxUpdatedControl ControlID="CustomPanelMenu" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
- 1 asp:Panel to be used for menu purposes
| <asp:Panel ID="CustomPanelMenu" runat="server"> |
| <WebParts:TestMenu001 runat="server" ID="TestMenu001_1" Title="MenuSx" __MarkupType="vsattributemarkup" __WebPartId="{0ce525f0-089d-4f57-902a-78d4b87b34b9}" WebPart="true" __designer:IsClosed="false" /> |
| </asp:Panel> |
- 1 asp:Panel where I put the standard moss content placeholder "PlaceHolderMain" for main content web parts
- 1 telerik:RadAjaxLoadingPanel to make the application more interactive
| <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelMain" runat="server"/> |
| <asp:Panel ID="CustomPanelMain" runat="server"> |
| <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server"> |
| </asp:ContentPlaceHolder> |
| </asp:Panel> |
As you can see in the first code block, I configured the RadAjaxManager in order to update the panels.
I had to pass data between the web part I will put in the panels:
For example: when I click on a control in the web part put in the menu panel I want the web part put in the CustomPanelMain will refresh with the id I chose.
I try to put data in the Page.Session, but I tested that the refresh on the main web part will start before the data is written in the menu web part.
What am I wronging? What do you suggest to do that?
Many thanks,
RF