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.

audio - Playing stereo wav file in android -

i playing stereo wav file in android in application using soundpool in infinite loop. i changing left right channel sound using setvolume, every 1 second int looper = 0; timerhandler() { if(looper == 0) { soundpool.setvolume(sid, 0, 1) ; looper = 1; } else { soundpool.setvolume(sid, 1, 0) ; looper = 0; } } its working fine in emulator. on device not getting stereo effect. can issue. could "the device" has single (mono) output?

c# - Windows form hanging problem -

consider scenario: have 2 forms (form1 , form2). when button clicked in form1, loads form2. form2 contains gridcontrol show data. since data large, form2 takes time load. freezes whole application. i access form1 while form2 loading. possible? you use backgroundworker load data in separate thread avoid blocking main thread.

Where can I find diagrams for drupal? -

i need diagrams, logic database diagram (entity relationship diagram) of drupal. i've tried http://drupal.org/node/1161 links broken. when install drupal mysql database, suggest using fine " mysql workbench " , reverse engineer database. no matter structure, find nice er-diagramm no matter drupal version. for more figures: through docs , community pages. there is, example, nice illustration how forms working.

jquery - Dialog _ jQuerymobile -

i want open dialog box based on ajax result. how create/open dialog .js file? anyone me. thanks in advance. if link file this: <a href="foo.html" data-rel="dialog">open dialog</a> it's done ajax anyway and degrades nicely people lesser js support. the way want it: create wrapping div content , give data-role=dialog attribute, call .dialog() on it, or .page() if dialog doesn't work. update: jqmbeta2 introduces 'create' event have trigger on stuff instead of using .page

richfaces - rich:modalPanel closes without Validation -

i trying validate data in inside rich:modalpanel; behavior see quite strange. i have dropdown , add button dropdown, first time when try add data dropdown clicking add button validations successful, how oever when once user adds data first time , tries enter new data second time opening newadduserdialog; , when validation fails, modal panel hides. if remove code hiding modal panel (oncomplete event inside a4j:commadbutton), window closes on click of buttion. <rich:modalpanel id="newadduserdialog" autosized="true"> <a4j:outputpanel id="addname_panel" styleclass="largepanel"> <a4j:form> <rich:messages layout="list" showdetail="false" errorclass="validationerror" /> <h:panelgrid columns="2" cellpadding="10" cellspacing="10" width="100%"> <h:outputlabel ...

TCPDF library in JOOMLA! component outputs html in PDF -

i have component in joomla exports pdf, problem i'm encountering pdf exported unreadable because html of joomla! page in inserted after , before pdf itself. i have made standard structure of component , call like index.php?option=com_listado_factura&task=exportar_pdf being com_listado_factura name of component , exportar_factura function of controller exports pdf. i've looked everywhere , couldn't find solution, thanks the solution call: ob_end_clean(); before $tcpdf->output();

css - Create a thumbnail image if a video type file is uploaded -

my requirement if user had added video type link create thumbnail name had provided added video link , play button image in center if user clicks on take him link provided. a sample type expecting given here i had researched lot creating thumbnails (youtube videos can provided urls not can of type) so had zeored on process. questions how mock image showed in above dynamic image of text , transperent icon foreground html tags no jquery