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.

ios - UITableViewController won't scroll on custom implementation -


there numerous posts out there stating 1 should avoid use of uitableviewcontroller. more , more want give in, i'm using coredatatableviewcontroller super class that's tied entire application, , don't have time rewrite all.

of course, uitableviewcontroller's view shouldn't take entire screen (ipad project), put subview on regular uiview instance frame set pretty size. that's when weird things start happen.

i copied custom class (groupstableviewcontroller->coredatatableviewcontroller->uitableviewcontroller) test-project working fine, current project. alloc/init , addsubview view.

at first table show empty. gives? viewwillappear: message not sent. the...? alright, call manually (at point, i'm starting doubt myself). next, table filled content, interactivity gone. no taps, no scrolling.

i tried setting userinteractionenabled on everything, no result. n00b thing, i'm sure, silly stuck on. yet here am, stuck.

can point me right direction? did forget delegate somewhere? or maybe unsent message?

one issue running nested uiviewcontrollers not receive proper events such viewwillappear:. according apple's guidelines uiviewcontroller should fill entire screen , not represent partial view (of course exceptions of uitabbarcontroller, uinavigationcontroller, , uisplitviewcontroller). try setting groupstableviewcontroller main controller (if in uinavigationcontroller try pushing it, if split view make details view, etc). if works there events not getting through causing problems. hope helps!


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 -