473,385 Members | 1,752 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,385 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 1683
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.