Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

jquery ui - How do I know when HTML has fully rendered -


case 1:

i load large html page includes lot of complex layout , fonts. page take unknown time render.

case 2:

i use jquery .html() function make significant changes dom. modified dom take unknown time render.

in both cases, want able cover whole screen spinner until page has completely finished rendering.

in searching answers question, have found similar questions asked answers not relevant. clear:

i don't want know when dom ready.

i don't want know when http data has been fetched.

i want know when in dom has been completely drawn screen.

setting worst-case timeout not acceptable solution.

i need solution webkit based browsers.

just small point; browsers won't animate spinner whilst they're processing javascript. particularly ies behave single-threaded.

it's worth using different, non-animated, design 'spinner'. hourglass.

thought when's rendered challenge: why not put after initialisation code call in $(document).ready event. in case of ies, should fire last.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -