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.

actionscript 3 - Combining a multiple strings and arrays to one dataProvider for a spark List -


i'm struggling one, need combine 5 arrays 5 individual strings (which have come json webservice) 1 single list item in flashbuilder burrito.

the web service returns data follows

title(string) array[0[name, size, imageurl]][1[name, size, imageurl]][2[name, size, imageurl]]  title_1(string) array_1[0[name, size, imageurl]][1[name, size, imageurl]][2[name, size, imageurl]]  title_2(string) array_2[0[name, size, imageurl]][1[name, size, imageurl]][2[name, size, imageurl]]  title_3(string) array_3[0[name, size, imageurl]][1[name, size, imageurl]][2[name, size, imageurl]] 

and on. i've pulled these out , each 1 traces in debugger, although need them in same list i'm struggling establish them dataprovider together.

if push strings , arrays impossible read properly, main titles @ different level descriptors products in arrays. i'm sort of stuck!!

any advice on how best approach this?

cheers

really depends on design of application on how best approach this. if list going sortable on properties (name, size, price etc) instead of labels might want push "type" array , have way of showing in item renderer. if items supposed separated type, sortable might want @ using accordion type control , having separate lists.

anyhow want concatenate arrays single array , push "title" object property. way can @ least sort on title items appear in correct order in single list.

otherwise create custom control 5 different lists stacked on top of each other (with no scrollbars) , have custom control handle scrolling of 5 lists single scroll bar.


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 -