From: DavidC on
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
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
=?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! |
*******************************************