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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -