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.

python - a question on using xhtml2pdf to parse css from website -


i trying use xhtml2pdf convert webpage pdf. after reading out content of webpage using urllib2, found pisa.createpdf needs process every link in webpage content too. especially, whenever tried parse .css file after tried several websites, got following error:

pisa-3.0.33-py2.6.egg/sx/w3c/cssparser.py", line 1020, in _parseexpressionterm sx.w3c.cssparser.cssparseerror: terminal function expression expected closing ')':: (u'alpha(opacity', u'=0); }\n\n\n\n.ui-state-') 

do seem issue too? please help? lot.

pisa-3.0.33-py2.6.egg/sx/w3c/cssparser.py", line 1020, in _parseexpressionterm sx.w3c.cssparser.cssparseerror: terminal function expression expected closing ')':: (u'alpha(opacity', u'=0); }\n\n\n\n.ui-state-')

i think because didn't recognize css, alpha(opacity bla.. bla

i having problem before because of javascript, removed them , works.


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 -