Connecting Tech Pros Worldwide Forums | Help | Site Map

refresh control

IGotYourDotNet
Guest
 
Posts: n/a
#1: Nov 18 '05
Is it possible to only refresh a control such as a datagrid without
refreshing the entire page?

I have 2 datagrids on my page and i only need to refresh 1 of them and if
possible i do not want to refresh the entire page since there is alot of data
on the page.

can that be done or no?


Karl
Guest
 
Posts: n/a
#2: Nov 18 '05

re: refresh control


No,
But you can cache either the non-changed control using OutputCaching, or
more simply simple cache the data.

Karl

"IGotYourDotNet" <IGotYourDotNet@discussions.microsoft.com> wrote in message
news:9A0D42D9-3F65-4D08-9499-1618E21080B3@microsoft.com...[color=blue]
> Is it possible to only refresh a control such as a datagrid without
> refreshing the entire page?
>
> I have 2 datagrids on my page and i only need to refresh 1 of them and if
> possible i do not want to refresh the entire page since there is alot of[/color]
data[color=blue]
> on the page.
>
> can that be done or no?
>[/color]


Alan Ferrandiz [MCT]
Guest
 
Posts: n/a
#3: Nov 18 '05

re: refresh control


This a quite complicated scenario. One way to do that is by using frames and passing any object you want through Sesssion variables. Using caching would make a solution but it will bind some parts of the page to display the same values for a determined period of time.

Hope this helps

Alan Ferrandiz Langley
www.geekswithblogs.com/aferrandiz


"IGotYourDotNet" <IGotYourDotNet@discussions.microsoft.com> escribió en el mensaje news:9A0D42D9-3F65-4D08-9499-1618E21080B3@microsoft.com...[color=blue]
> Is it possible to only refresh a control such as a datagrid without
> refreshing the entire page?
>
> I have 2 datagrids on my page and i only need to refresh 1 of them and if
> possible i do not want to refresh the entire page since there is alot of data
> on the page.
>
> can that be done or no?
>[/color]
Karl
Guest
 
Posts: n/a
#4: Nov 18 '05

re: refresh control


To expand on Alan's comment of caching, you won't only be bound to a determined period of time (ie, you could cache the data in a session, thus binding it to a user as well). You have some additional flexibility in invalidating cache, but I agree that the scenario is complicated.

karl
"Alan Ferrandiz [MCT]" <aferrandiz@online.labroe.com> wrote in message news:%23cOQqtRiEHA.1656@TK2MSFTNGP09.phx.gbl...
This a quite complicated scenario. One way to do that is by using frames and passing any object you want through Sesssion variables. Using caching would make a solution but it will bind some parts of the page to display the same values for a determined period of time.

Hope this helps

Alan Ferrandiz Langley
www.geekswithblogs.com/aferrandiz


"IGotYourDotNet" <IGotYourDotNet@discussions.microsoft.com> escribió en el mensaje news:9A0D42D9-3F65-4D08-9499-1618E21080B3@microsoft.com...[color=blue]
> Is it possible to only refresh a control such as a datagrid without
> refreshing the entire page?
>
> I have 2 datagrids on my page and i only need to refresh 1 of them and if
> possible i do not want to refresh the entire page since there is alot of data
> on the page.
>
> can that be done or no?
>[/color]
Closed Thread