vb.net - Telerik Access a Radgrid which is inside a RadListView -


i have radgrid nested inside radlistview. know how reference radgrid button click? looping through radlistview , loop through radgrid within loop.

for each item radlistviewdataitem in radlistview1.items   'i saving radlistview items here              'this point need access radgrid1              'which don't know how              each item griddataitem in radgrid1.mastertableview.items               'i saving radgrid items here              next  next 

after messing ages, found out how wanted 2 minutes after posting question. i'm using findcontrol radgrid can loop through normal. not sure why didn't think of earlier.

dim gvhours radgrid = directcast(item.findcontrol("gvhours"), radgrid)  each item griddataitem in gvhours.mastertableview.items      'do stuff here  next 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -