Hi,
I'm messing around with the MS live toolkit.
One thing in this is the Contacts Control.
I got it working like this:
But when I try this with RadAjaxManager it does not work (the label does not update)
By the way - using the smarttag on RadAjaxManager to config the manager I don't get the contacts control listed.
But that's not the thing - I'm just curios if the approach with asp:update... can be done with telerik Ajax also.
Regards
Manfred
I'm messing around with the MS live toolkit.
One thing in this is the Contacts Control.
I got it working like this:
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> |
<live:Contacts ID="Contacts1" runat="server" DataDesired="firstname,email" Height="300px" Width="250px" PrivacyStatementURL="~/EIGPrivacy.aspx" OnServerData="Contacts1_OnServerData" /> |
<br /> |
<asp:UpdatePanel ID="UpdatePanel1" runat="server"> |
<ContentTemplate> |
<asp:Label ID="lblErg" runat="server"></asp:Label> |
</ContentTemplate> |
<Triggers> |
<asp:AsyncPostBackTrigger ControlID="Contacts1" EventName="ServerData" /> |
</Triggers> |
</asp:UpdatePanel> |
</asp:Content> |
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="alpPan1"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="Contacts1" EventName="ServerData"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="lblErg" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
<telerik:RadAjaxLoadingPanel ID="alpPan1" runat="server" Height="75px" Width="75px" Transparency="5"> |
<img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border: 0;" /> |
</telerik:RadAjaxLoadingPanel> |
<live:Contacts ID="Contacts1" runat="server" DataDesired="firstname,email" Height="300px" Width="250px" PrivacyStatementURL="~/EIGPrivacy.aspx" OnServerData="Contacts1_OnServerData" /> |
<br /> |
<asp:Label ID="lblErg" runat="server"></asp:Label> |
</asp:Content> |
By the way - using the smarttag on RadAjaxManager to config the manager I don't get the contacts control listed.
But that's not the thing - I'm just curios if the approach with asp:update... can be done with telerik Ajax also.
Regards
Manfred