Posts

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.

php - Linking to a file in the Zend Framework -

when link directly uploaded file in zend framework based project differing results depending on if i'm working in local environment or remote environment. in both cases want link uploaded photo. generated url looks like: http://whateverserverweareon/projectfiles/project18/photos/aphoto.jpg on local machine clicking link show me photo, in remote machine gives me warning "invalid controller..." (as, while not have "projectfiles" controller, uploaded photos in projectfiles directory on path specified in sample url). so how link these uploaded photos? create controller can link them? can bypass controller altogether , link directly? there sort of custom route need create? should doing in different manner? suggestions? the exception means on remote mashine file not exists in specified location. standard rewrite rules in .htaccess file written if file exists (i.e. /projectfiles/project18/photos/aphoto.jpg) index.php file of zf not executed. should...

iphone - Setting Text Color on all items in IBOutletCollection -

i have several iboutlet , use them iboutletcollection : @interface iboutletcollectionviewcontroller : uiviewcontroller { iboutletcollection (uilabel) nsarray *multiplelabels; } @property (nonatomic , retain) iboutletcollection (uilabel) nsarray *multiplelabels; @end but when want use uilable properties compiler gives error : request member 'textcolor' in not structure or union i think it's because of nsarray ! there solution ? you can use key-value coding set property on each label instance in array: [multiplelabels setvalue:[uicolor redcolor] forkey:@"textcolor"]; "iboutletcollection(uilabel)" can omitted in ivar declaration long it's used in property declaration. another option call "makeobjectsperformselector:" on nsarray instance: [multiplelabels makeobjectsperformselector:@selector(settextcolor:) withobject:[uicolor redcolor]];

javascript - Insert iFrame and then have it load before all other content on FF -

i have browser plugins insert iframe webpage. iframe inserted possible (using domcontentloaded ) contents of iframe render page. in firefox doesn't happen however. though iframe seems inserted early, content of page/images/etc load prior iframe's content. is there way around firefox behavior iframe content can load or first? not sure if matters here 2 methods equivalent results: method 1. inserting iframe on domcontentloaded method 2: nsiwebprogresslistener() onstatechange: function (abrowser, awebprogress, arequest, astateflags, astatus) { const state_start = components.interfaces.nsiwebprogresslistener.state_start; const state_stop = components.interfaces.nsiwebprogresslistener.state_stop; if (astateflags & state_stop) { //document undefined @ state_start try { //create iframe } catch (e) {} } return true; }, the listener domcontentloaded fires later 1 think on ff. problem solved using firefox's on...

user interface - Is there a GUI for creating GUIs in Scala? -

is there windowbuilder scala? i don't know of wysiwyg gui builder scala. don't need one. in fact, strictly speaking, scala doesn't have gui; uses underlying platform's gui (or guis). so, jvm port of scala uses awt, swing or swt , cli port of scala uses winforms or wpf. i've heard rumors of ports of scala ecmascript runtime , objective-c runtime, , presumable use html5 , quartz/cocoa, respectively. this means can use existing tools, expression blend wpf or matisse swing. note, however, @ least swing, there brilliant scala.swing library, contains embedded dsl building guis programmatically. not wysiwyg, it's not asking for, prefer it, because wymiwyg (what mean get), gui tools have used far, seems impossible achieve.

How to show Dependency Injection on a UML class diagram? -

Image
see subj. it nice if attach image (my google-fu isn't quite find 1 myself). thanks! martin fowler shows this:

jquery - How to get through with slider in mvc -

Image
hi folks i working in mvc 2.0.now got urgent requirement regarding slider in mvc..here have attached image file please see file..and how implement in mvc.how start is?is there jquery this?...please me how this.... there's nice jquery slider plugin may take at. , here's another one .

internet explorer 7 - Firebug for ie7 -

is there firebug ie7. in firefox firebug reduces lot of work while checking code. in same way ie supports firebug. firebug lite firebug non firefox browsers. if haven't already, can try ie developer toolbar .