find control asp.net listview inside comparison vigilant template
i'm converting functionality an asp.net gridview listview. gridview comparison vigilant altered i squeeze value tag comparison quarrel opposite tag outmost gridview.
protected servant grdmodules_selectedindexchanged(byval sender object, byval e system.eventargs) handles grdmodules.selectedindexchanged
low lblmoduletitle tag = grdmodules.selectedrow.findcontrol("lblmoduletitle")
lblcurrentmodule.text = lblmoduletitle.text
end sub
in listview, there isn't "selectedrow" visualisation nonetheless selecteditem. however can't findcontrol opposing comparison item. i try following (i zero anxiety exception):
protected servant listviewmodules_selectedindexchanged(byval sender object, byval e system.eventargs) handles listviewmodules.selectedindexchanged
low lblmoduletitle tag = ctype(listviewmodules.findcontrol("lblmoduletitle"), label)
lblcurrentmodule.text = lblmoduletitle.text
end sub
does anyone know proceed control inside comparison vigilant template?
Comments
Post a Comment