Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C ASP.NET ADO.NET Ajax
Hii,
 
Please tell me by which way we can freez the creen while loading data so that user will not interuppt and unexpected error can be stop.
 
i know there can be many ways but also tell which will be good one as i may have to use it on many pages.
 
Thanks in advance Smile | :)
Posted 27-Feb-13 20:33pm
Comments
Sergey Alexandrovich Kryukov at 28-Feb-13 1:36am
   
Why freezing it? Not a good idea.
—SA
sanchu90 at 28-Feb-13 1:40am
   
Freezing so that no one can access controls while loading data..
Sergey Alexandrovich Kryukov at 28-Feb-13 1:48am
   
I understand it, but it should not be "freezing". OK, you can call it "freezing", but this is simply... well, please see my answer.
—SA
sanchu90 at 28-Feb-13 2:09am
   
May be Freezing Word is not right here
but i want something like image to be display saying "Please Wait while Data is loading" and background may be in diff color
and when loading completed the data can be access by users.
 

Sergey Alexandrovich Kryukov at 28-Feb-13 2:43am
   
Didn't I answered on how to do it? After all, please see my solution and comment there. Well, add different color if you want to, and whatever you want...
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question. Don't freeze it, why? In fact, there is no such UI concept.
 
Better simply make its control temporarily disabled, and only those which are invalid to use during your loading. Do the loading in a separate thread. This way, the UI will remain responsive (the user can, say, resize the window), but will clearly show the user that it's not ready. Also, show a hourglass mouse cursor.
 
—SA
  Permalink  
v2
Comments
Espen Harlinn at 28-Feb-13 8:16am
   
Good points :-D
Sergey Alexandrovich Kryukov at 28-Feb-13 11:28am
   
Thank you, Espen.
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Well thanks everyone..
I have solved it using updateProgress Smile | :)
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Run a pop up in background thread.Which indicate data loading message. And Kill background thread after completing data loading.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 28 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100