RE: Lazy Loading Grid Object
From: blackhawk (blackhawk_at_discussions.microsoft.com)
Date: 11/12/04
- Next message: Vi: "Required Field Validator"
- Previous message: Leon: "Understanding the Dispose method and datasets?"
- In reply to: adolf garlic: "RE: Lazy Loading Grid Object"
- Next in thread: adolf garlic: "RE: Lazy Loading Grid Object"
- Reply: adolf garlic: "RE: Lazy Loading Grid Object"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 12 Nov 2004 08:03:05 -0800
Adolf,
I am not looking for paging. I guess you could say that what I am looking
for is very similar to how Query Analyzer works when you open a table for
viewing that is very large.
You open the table, it loads the first X records and then as you scroll
down, it loads those records. It does not try to load the entire table at
once.
This is effectively what I am trying to accomplish, but on the web instead
of in a windows app.
Do you have any samples or can you point me to some blogs that discuss this
in more detail?
"adolf garlic" wrote:
> not quite sure what you are on about but -
>
> in our websites (classic and .net)
> we call out from the client using the xmlhttp object which can either
> - call a page which returns xml
> - call a sqlxml template which returns xml
>
> you can then easily bind the grid to the xml
>
> this is not a .net postback
> this doesn't require the page to reload and can happen in the background
> you can also do it from classic asp
>
> what you are on about sounds more like paging rather than scrolling
>
> datagrid supports paging and i'm sure you could easily link 2 grids to fire
> on each others page change event
>
> i just don't think the 'load a bit at a time on scrolling with a scroll bar'
> is going to work
>
> when you've got the xml down on the client (can assume msxml3 if using IE6)
> you can always use an XSL to transform the result to an html doc. This is
> another approach we have used in the past
>
> "blackhawk" wrote:
>
> > I need to build a web page that has to potentially display a large amount of
> > data in two grids on the same page. The HTML file with all of the formatting
> > is about 7MB in size. This is too large and I need to implement some kind of
> > "client side" lazy loading.
> >
> > What I mean is this: I want to display a grid that only shows, say, 20
> > records. I need an external scrollbar control that I can then show on the
> > screen next to the grid. When the user moves the scroll bar, I want to load
> > only that window of data into the grid.
> >
> > Preferably, I would like to do this client-side without a postback event,
> > because I have more than one grid of data on a single web page. Both of
> > which will need this capability.
> >
> > Anyone have any suggestions, third party software, or otherwise that I can
> > look at?
> >
> > P.S. I would prefer an external scroll bar rather than one that comes with
> > each grid because I want one scroll bar to control two grids simultaneously.
> > I.e. The horizontal scrollbar control scrolls both grids' right and left
> > movement. Vertical scrollbars are associated with each grid independently.
> >
> >
- Next message: Vi: "Required Field Validator"
- Previous message: Leon: "Understanding the Dispose method and datasets?"
- In reply to: adolf garlic: "RE: Lazy Loading Grid Object"
- Next in thread: adolf garlic: "RE: Lazy Loading Grid Object"
- Reply: adolf garlic: "RE: Lazy Loading Grid Object"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|