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.

Is there concept of panel in BlackBerry -


as have concepts of panel in swings , awt can add controls.do have concept of panel in blackberry. .can 1 please tell me it.i have create icons in bb , place @ bottom of screen give of toolbar.i know have toolbar package in bb 6.0 simulators(like 8520 curve) doesnt support dont want use that.

please me understand there concept of panel in bb in awt , swings

thanks in advance yogesh chaudhari

we have managers in blackberry. implement toolbar on blackberry screen can use verticalfieldmanager , horizontalfieldmanager. if want toolbar show @ bottom can use verticalfieldmanager contains 1 fixed size verticalfieldmanager , 1 horizontalfieldmanager. can have toolbar buttons in horizontalfieldmanager , add parent manager.. this.

verticalfieldmanager parent =      new verticalfieldmanager(manager.use_all_height|manager.use_all_width); verticalfieldmanager vfm = new verticalfieldmanager(){     public void sublayout(int width, int height) {         super.sublayout(display.getwidth(), 300);         //force extent of our manager.         //this force height of object         //where above super.sublayout() call         //set width.         setextent(display.getwidth(), 300);     } };  /*  * add fields vfm  * buttonfield button = new buttonfield("button");  * vfm.add(button);  * ...  */ parent.add(vfm); horizontalfieldmanager hfm = new horizontalfieldmanager(); /*  * add toolbar buttons hfm  * hfm.add(icon1);  * hfm.add(icon2);  * ...  *   */ parent.add(hfm); 

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 -