From: DavidC on 8 Jan 2010 12:07 Does anyone know how to pre-populate a field on a ListView control when the bound datasource is empty? I can do it in Itemdatabound when there are already records but the same process does not work when the datasource is empty. Thanks. -- David
From: DavidC on 8 Jan 2010 13:25 Figured it out. I used PreRender event on control. -- David "DavidC" wrote: > Does anyone know how to pre-populate a field on a ListView control when the > bound datasource is empty? I can do it in Itemdatabound when there are > already records but the same process does not work when the datasource is > empty. Thanks. > -- > David
From: Gregory A. Beamer on 8 Jan 2010 16:24 =?Utf-8?B?RGF2aWRD?= <dlchase(a)lifetimeinc.com> wrote in news:FD4D3755-7C66-4617-AEF7-90DE2EEAC055(a)microsoft.com: > Does anyone know how to pre-populate a field on a ListView control > when the bound datasource is empty? I can do it in Itemdatabound when > there are already records but the same process does not work when the > datasource is empty. Thanks. one option is the empty template. Peace and Grace, -- Gregory A. Beamer (MVP) Twitter: @gbworld Blog: http://gregorybeamer.spaces.live.com ******************************************* | Think outside the box! | *******************************************
|
Pages: 1 Prev: WPF Transparent Colors Next: Does anyone create sites without using tables for layout? |