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.
Oleg [ Mo, 31 März 2008 19:22 ] [ ID #1932610 ]

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();
arnabit [ Di, 01 April 2008 11:14 ] [ ID #1932636 ]

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();
arnabit [ Di, 01 April 2008 12:14 ] [ ID #1932639 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » how to refresh contents of UpdatePanel using call from outside of

Vorheriges Thema: where do i get material on dbms?
Nächstes Thema: Delete record