Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Ram #1
Removing the datagrid header.....
How to remove the datagrid header display ? Which property I should change ?
Thanks
Ram Guest
-
Postbacks removing DataGrid which has BoundColumns created in code.
I'm having an issue with my DataGrid being removed from the page on postbacks. All of the columns are added programatically as the application... -
datagrid header
Is it possible to have an overall header that spans across all columns? An example would be a class schedule for student Ben. |Ben |English ... -
Datagrid header size
I have datagrids on two different pages. In the IDE they both look the same, and as far as I can tell all the properties are set the same. When I... -
Edit DataGrid Header
Hey ppl... I got my datagrid column edited by coding the ItemDataBound event with the following code: If e.Item.ItemType=ListItemType.Header... -
DataGrid header and <TH>
Hello Vaclav, You might use the HeaderStyle of the DataGrid which will create Th on the client side. You can also attach style attribute to this... -
Ken Cox [Microsoft MVP] #2
Re: Removing the datagrid header.....
Hi Ram,
In the .aspx file:
ShowHeader="False"
as in
<asp:DataGrid id="DataGrid1" runat="server" AutoGenerateColumns="False"
ShowHeader="False">
or in code like this:
DataGrid1.ShowHeader = False
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuiwebcontrolsdatagridclassshowheader topic.asp[/url]
Ken
Microsoft MVP [ASP.NET]
"Ram" <RamKulkari@hotmail.com> wrote in message
news:OYHJ4pCIEHA.3968@TK2MSFTNGP12.phx.gbl...> How to remove the datagrid header display ? Which property I should change
> ?
> Thanks
>
>
>
>Ken Cox [Microsoft MVP] Guest



Reply With Quote

