This is a migrated thread and some comments may be shown as answers.

[Solved] RadAjaxManager + Web Part connections

3 Answers 108 Views
RadControls
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin
Top achievements
Rank 1
Martin asked on 04 May 2007, 10:08 AM
Hi,
I have seen Jan Tielens excellent SharePoint SmartParts and was wondering if anything can be achieved like that with Telerik controls and Telerik Ajax.

e.g.
WebPart1 has a Telerik tree control.
WebPart2 has a simple label control

WebPart1 connects to WebPart2. The data being 'connected' could be as simple as a string representing the node click. WebPart2 displays this string.

This is possible in a normal aspx page scenario, but is it possible in a SharePoint page?

Thanks
Martin 

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 11 May 2007, 12:01 PM
Hi Martin,

This should work as expected in sharepoint environment as well. You just need to locate the controls in the other user controls and add them programatically to the AjaxManager AjaxSettings collection. More info is available in these help topics:

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
EBA
Top achievements
Rank 1
answered on 11 Apr 2009, 04:37 AM
I think having knowledge of the other web part would defeat the purpose of having Web Part Connections. This is what I did in the consumer web part for the same scenario:
Control triggeringCtrl = Page.FindControl(Page.Request.Params.Get("__EVENTTARGET")); 
                radAjaxManagerProxy.AjaxSettings.AddAjaxSetting(triggeringCtrl, panelOuter, AjaxLoadingPanel); 

I am very new to Telerik controls so I don't understand why the RadAjaxPanel doesn't have an Update() method like the UpdatePanel does. This would allow it to be refreshed programmatically.

Regards,

Arif
0
Sebastian
Telerik team
answered on 13 Apr 2009, 07:23 AM
Hello Arif,

Indeed the RadAjaxPanel does not have Update() method exposed as the MS UpdatePanel. However, you can achieve interaction between different ajax panels (when needed) or trigger an ajax request to simulate the Update() method behavior using the approach from here. I hope this is applicable solution for your case.

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
RadControls
Asked by
Martin
Top achievements
Rank 1
Answers by
Steve
Telerik team
EBA
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or