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.

javascript - Raphael graphic not showing in IE8 -


right i'm having trouble getting simple raphael graphic show in extjs panel.

afterrender: function(){         var size = math.min(this.getheight(), this.getwidth());         this.innerel = this.el.createchild({             cls : 'ext-ux-clock-inner'         });         this.canvas = raphael(this.innerel.dom, size, size);         var circle = this.canvas.text(50, 40, 'test').attr( {               font : '14px helvetica, arial',               stroke : "none",               fill : '#fff'             });         timelinewindowpanel.superclass.afterrender.apply(this,arguments);     } 

the text shows fine in firefox , chrome, can't seem text display in ie8. i've tried using uncompressed version along minified version no luck. know why raphael doesn't work ie8 extjs?

edit: if change ie8 compatibility mode shows raphael graphic

i found work around ie8. seems ie8 attempts draw onto canvas before extjs window appears on screen. i'm guessing what's happening ie8 attempts draw onto canvas , fails , doesn't try redraw. raphael image never appears in canvas. able solve delaying draw .3 seconds using javascript function setinterval()


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 -