15,895,011 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Trekstuff (Top 6 by date)
Trekstuff
17-Sep-12 16:46pm
View
Actually the solution I ended up with: Initial query returns IDs only - all few million of records, but a single field - primary key only. In .NET code they're read via DataReader (which is very fast) and stored in generic list. in the grid when I request a current page of data I pass just the ids needed for current page and a query returns subset of data based on those IDs - which is pretty fast too.
Trekstuff
2-Nov-11 21:58pm
View
Too unpredictable, you have to time setTimeout precise and even then it will behave differently in different situations.
Found a solution though:
http://codecorner.galanter.net/2011/11/02/how-to-load-iframes-in-order-according-to-priority/
Does not depend on timing or callback, just pure loops.
Trekstuff
26-Oct-11 15:40pm
View
I do know how they interact and which iframe I want to load with delay, just not sure which is the best way. This is approximation of the code currently in use:
for (var I=1; I<10; I++) {
oIframe = GetIframeObject(I);
sURL = GetIframeSource(I);
bIsDelayed = GetIsDelayed(I);
if (bIsDelayed) {
// What to do here?
} else {
oIframe.src = sURL
}
}
I am having problem with what to do if bIsDelayed condition is true and I need to delay that particular IFRAME load until after the rest are loaded. How do I delay load of that URL?
Trekstuff
26-Oct-11 15:38pm
View
Deleted
I do know how they interact and which iframe I want to load with delay, just not sure which is the best way. This is approximation of the code currently in use:
for (var I=1; I<10; I++) {
oIframe = GetIframeObject(I);
sURL = GetIframeSource(I);
bIsDelayed = GetIsDelayed(I);
if (bIsDelayed) {
// What to do here?
} else {
oIframe.src = sURL
}
}
I am having problem with what to do if bIsDelayed condition is true and I need to delay that particular IFRAME load until after the rest are loaded. How do I delay load of that URL?
Trekstuff
26-Oct-11 11:32am
View
IE surely picks and chooses when to follow standards. I even tried registry hack to increase number of connections, but it seems to work only on the first load. After that I guess all connections are used up.
What about delayed load? Let IE keep it limit, but make slowest iframe load last? What would be the best way to do it? Thanks for the IE info, btw +5
Trekstuff
24-Oct-11 22:58pm
View
Thank you for the prompt reply. But I do need to need to make it work in IE9 at least as fast as IE8, any idea how and what the difference is? Thanks.
Show More