Thanks for your response Hans,
Of course, you can submit such a request on any of our products through the
mswish@microsoft.com email alias.
Also, there are some blogs of ASP.NET Team members published on internet:
http://msdn.microsoft.com/asp.net/co...m/default.aspx
You can also add some entries of your feedback there. Many of the new
features of our products are collected from newsgroup and internet
community's feedback.
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: Hans Merkl <rhmware@newsgroups.nospam>
| Subject: Re: Showing the column headers of a GridView when there is no
data
| User-Agent: 40tude_Dialog/2.0.14.1
| MIME-Version: 1.0
| Content-Type: text/plain; charset="us-ascii"
| Content-Transfer-Encoding: 7bit
| Sender:
rhmware@newsgroups.nospam
| Reply-To:
rhmware@newsgroups.nospam
| Organization: RHM Media, LLC
| References: <1436xvbe6haae.tgz7cwqczd2c$.dlg@40tude.net>
<84ZupjO6FHA.832@TK2MSFTNGXA02.phx.gbl>
| Date: Mon, 14 Nov 2005 10:48:26 -0500
| Message-ID: <14vfklpj9y1xx.n6a835u6f5s0.dlg@40tude.net>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: pcp0011547978pcs.anapol01.md.comcast.net 68.54.166.32
| Lines: 1
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:357964
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi Steven,
|
| I was expecting that answer already. Can I put in a feature request for
| future versions to add this feature?
|
| Cheers
|
| Hans
|
| n Mon, 14 Nov 2005 06:58:58 GMT, Steven Cheng[MSFT] wrote:
|
| > Hi Hans,
| >
| > As for the GridView or other template databound control, they'll
populate
| > UI only when there is existing valid record binded with them. So I'm
afraid
| > for empty datasource collection ,we could not make the GridView only
| > displaying Headers. If you do need to make only an headering line
visible,
| > we may use another GridView or Table which is populated the headers
with a
| > dummy record and hidden it when our gridview has records but make it
| > visible when there is no datarecords.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure!
www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| >| From: Hans Merkl <rhmware@newsgroups.nospam>
| >| Subject: Showing the column headers of a GridView when there is no data
| >| User-Agent: 40tude_Dialog/2.0.14.1
| >| MIME-Version: 1.0
| >| Content-Type: text/plain; charset="us-ascii"
| >| Content-Transfer-Encoding: 7bit
| >| Sender:
rhmware@newsgroups.nospam
| >| Reply-To:
rhmware@newsgroups.nospam
| >| Organization: RHM Media, LLC
| >| Date: Fri, 11 Nov 2005 15:48:35 -0500
| >| Message-ID: <1436xvbe6haae.tgz7cwqczd2c$.dlg@40tude.net>
| >| Newsgroups: microsoft.public.dotnet.framework.aspnet
| >| NNTP-Posting-Host: pcp0011547978pcs.anapol01.md.comcast.net
68.54.166.32
| >| Lines: 1
| >| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
| >| Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:357495
| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| >|
| >| Hi,
| >|
| >| Is there a way to show the column headers of a GridView control even if
| >| there is no data? The only thing I see is the EmptyDataTemplate but I
| > would
| >| also like to display the column headers.
| >|
| >| Thanks
| >|
| >| Hans
| >|
|