![]() |
create asp:listview programmatically
I was searching for a sample or tutorial on how to build a ListView with it's
Templates and Datasources programmatically but without success. I think of building a generic Viewer of data, but columns and datasource ar not known at design time, so they have to be build dynamically in code-behind. Does somebody know where to find something ? |
Re: create asp:listview programmatically
This article is quite old but is still actual:
Creating Web Server Control Templates Programmatically http://msdn.microsoft.com/en-us/library/aa289501.aspx -- Eliyahu Goldin, Software Developer Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net "Carlo Marchesoni" <CarloMarchesoni@discussions.microsoft.com> wrote in message news:094F9B73-8B5D-4669-97A9-FA1681A3E04E@microsoft.com... >I was searching for a sample or tutorial on how to build a ListView with >it's > Templates and Datasources programmatically but without success. > I think of building a generic Viewer of data, but columns and datasource > ar > not known at design time, so they have to be build dynamically in > code-behind. > Does somebody know where to find something ? |
Re: create asp:listview programmatically
Thanks Eliyahu - great walk thru.
"Eliyahu Goldin" wrote: > This article is quite old but is still actual: > > Creating Web Server Control Templates Programmatically > http://msdn.microsoft.com/en-us/library/aa289501.aspx > > -- > Eliyahu Goldin, > Software Developer > Microsoft MVP [ASP.NET] > http://msmvps.com/blogs/egoldin > http://usableasp.net > > > "Carlo Marchesoni" <CarloMarchesoni@discussions.microsoft.com> wrote in > message news:094F9B73-8B5D-4669-97A9-FA1681A3E04E@microsoft.com... > >I was searching for a sample or tutorial on how to build a ListView with > >it's > > Templates and Datasources programmatically but without success. > > I think of building a generic Viewer of data, but columns and datasource > > ar > > not known at design time, so they have to be build dynamically in > > code-behind. > > Does somebody know where to find something ? > > > |
| All times are GMT. The time now is 09:29 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.