how to refresh contents of UpdatePanel using call from outside of
am 31.03.2008 19:22:22 von Oleg
(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
am 01.04.2008 11:14:59 von arnabit
On Apr 1, 1:10=A0am, "cfps.Christian" wrote:
> I'm not quite sure what you're looking for but it sounds like you need
> an async trigger.
>
> =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0
> =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0
> eventname=3D"click" />
> =A0 =A0 =A0
>
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
am 01.04.2008 12:14:56 von arnabit
On Mar 31, 10:22=A0pm, Oleg 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();