how to refresh contents of UpdatePanel using call from outside of
(in .NET 2.0 with AJAX extensions)
I have an UpdatePanel on the form.
Now I want to use a link outside of my UpdatePanel to make it to update
(asynchronously) and also send some(at least one ) parameters.
I'm trying using ICallbackEventHandler, but it doesn't update the UpdatePanel.
Any suggestions?
Thanks.
Re: how to refresh contents of UpdatePanel using call from outside of
On Apr 1, 1:10=A0am, "cfps.Christian" <ge0193... [at] otc.edu> wrote:
> I'm not quite sure what you're looking for but it sounds like you need
> an async trigger.
> <updatePanel id=3D"pnlUp" runat=3D"server">
> =A0 =A0 =A0<contenttemplate>
> =A0 =A0 =A0 =A0 =A0 <!--Stuff -->
> =A0 =A0 =A0</contenttemplate>
> =A0 =A0 =A0<triggers>
> =A0 =A0 =A0 =A0 =A0 <asp:asyncronouspostback controlid=3D"btnPost"
> eventname=3D"click" />
> =A0 =A0 =A0</triggers>
> </updatepanel>
Oleg ,
You can add the following code to your click event handler of the link
button
UpdatePanel upd =3D new UpdatePanel();
upd.ID =3D "UpdatePanel1";
upd.UpdateMode =3D UpdatePanelUpdateMode.Conditional;
upd.Update();
Re: how to refresh contents of UpdatePanel using call from outside of
On Mar 31, 10:22=A0pm, Oleg <O... [at] discussions.microsoft.com> wrote:
> (in .NET 2.0 with AJAX extensions)
> I have an UpdatePanel on the form.
> Now I want to use a link outside of my UpdatePanel to make it to update
> (asynchronously) and also send some(at least one ) parameters.
>
> I'm trying using ICallbackEventHandler, but it doesn't update the UpdatePa=
nel.
>
> Any suggestions?
> Thanks.
Oleg ,
You can add the following code to your click event handler of the
link
button
UpdatePanel upd =3D new UpdatePanel();
upd.ID =3D "UpdatePanel1";
upd.UpdateMode =3D UpdatePanelUpdateMode.Conditional;
upd.Update();