473,320 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

refresh control

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?

Nov 18 '05 #1
3 1681
No,
But you can cache either the non-changed control using OutputCaching, or
more simply simple cache the data.

Karl

"IGotYourDotNet" <IG************@discussions.microsoft.com> wrote in message
news:9A**********************************@microsof t.com...
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?

Nov 18 '05 #2
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" <IG************@discussions.microsoft.com> escribió en el mensaje news:9A**********************************@microsof t.com...
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?

Nov 18 '05 #3
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]" <af********@online.labroe.com> wrote in message news:%2****************@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" <IG************@discussions.microsoft.com> escribió en el mensaje news:9A**********************************@microsof t.com...
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?

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Arnold | last post by:
Hey there, I've browsed for some fixes to this but only found a couple of similar posts, which didn't solve my problem. I'm wondering how to refresh an image control in a form after a user...
4
by: Yogi_Bear_79 | last post by:
Self Taught here so please bear with me. I have the labelRestrictSites as private on the MainForm.cs. I then access the labelRestrictSites.Text thru the public string LabelRestrictSites from...
2
by: Peter Oliphant | last post by:
I now have graphics being drawn in the Paint event of my form (yeah, and it's very cool). Problem was that it only updated any changes to these graphics when Paint was called. So, I then made it...
1
by: ppatel | last post by:
Problem I have a problem with web image button control click event. The click event does not get trigger until it has not been clicked once or page refresh occures(which is fine). When click...
17
by: SamSpade | last post by:
picDocument is a picturebox When I do picDocument.Invalidate() the box paints. But if instead I do picDocument.Refresh() the box does not paint. What does Refresh do. I guessed it did an...
0
by: Allan Bredahl | last post by:
Hi all Im currently constructing a Windows control that inherits from RichTextBox, but I'm having a bit of trouble with updating the control at design time. The senario is SIMPLIFIED as...
1
by: KatMagic | last post by:
Is there a way to automatically refresh a user control? I have a page where I automatically refresh the page with <meta http-equiv="refresh" content="600"> The page loads a user control based on...
0
by: cweeks | last post by:
>From the MSDN documentation for WebBroswer.Refresh(): "The WebBrowser control stores Web pages from recently visited sites in a cache on the local hard disk. Each page can specify an expiration...
3
by: R.A.F. | last post by:
Hi, I have a custom control in which i have a property based on CollectionBase class. like the following one : //------- XGrid.cs file --------------// public ColumnsCollection Columns {
4
by: Simon | last post by:
Dear reader, If I change the content of a field in an event procedure and in the same procedure I do a refresh, the refresh has no effect. The code in the event is as follows:
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.