Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 3rd, 2006, 05:04 PM
Authorized User
 
Join Date: Apr 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to chayanvinayak
Default preloader for datagrid

How a preloader is added in a datarid before it loads all the data ,if it is loading datafrom outside.

chayan vinayak goswami
__________________
chayan vinayak goswami
 
Old May 3rd, 2006, 05:21 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I haven't dealt with datagrids so I may be off on this, and somebody please correct me on this if I am.

I would think the preloader would be in the on load procedure of retreiving the data. On your preloader if it is just text you could add some text to saying "loading.." because you do not load text with a file size. Now if it is images you can load them with a byte or percentage preloader.

This is about the best answer I can give without knowing anything about what you

mike
 
Old May 11th, 2006, 07:34 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

a "preloader" relates to givning an indication of the time it requires to download a large file from your web server like a movie. In a data grid. The data must be populated by your server (like apache/php) before it is sent to the client (flash) to be viewed. Thus there is no reason to do a "pre-loader" for a data grid. You should limit your result set to your grid so there will be zero delays. Pre-loaders only make sense for things like large graphics or movies (large file size). Data in a grid is text and comparitively small.


 
Old May 12th, 2006, 01:33 AM
Authorized User
 
Join Date: Apr 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to chayanvinayak
Default

I want a preloader to show the user that data is being loaded , the time while data is loaded from server to client datagrid ,interface shows no response or indication of data loading ,so user thinks that there is no response and keeps on clicking the button.

chayan vinayak goswami
 
Old July 27th, 2006, 03:34 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have not tried it but can't you simply take the code for a preloader of a picture and apply that code to your data grid? I question the need of a preloader because a picture is a large file the text data going into a data grid is very small and I would argue that you shouldn't need one. Your data grid data likely to arive at the same time as your html and swf file.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom paging in Datagrid with datagrid page count madhusrp ASP.NET 1.0 and 1.1 Professional 12 June 2nd, 2008 01:15 PM
User COntrol Datagrid inside datagrid rodmcleay ASP.NET 1.0 and 1.1 Professional 3 April 14th, 2007 10:11 AM
can a preloader load an html site? dearmisskat Flash (all versions) 5 March 27th, 2007 03:56 PM
preloader? 13thSky Flash (all versions) 1 January 5th, 2007 01:20 AM
preloader being ignored Adam H-W Flash (all versions) 8 March 12th, 2004 01:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.