|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
_I_don’t_show_the_header?Example: I set the column width with the following code: <asp:TemplateColumn> <HeaderStyle Width="175px"></HeaderStyle> <ItemStyle></ItemStyle> <ItemTemplate> … Width of column is 175px Then I turned off the header <asp:datagrid ShowHeader="False" … Width of column is 95px -- Thanks in advance, Dave Hi,
Try setting width in itemstyle : <ItemStyle ItemStyle-Width="175px"> </ItemStyle> -- Show quoteHide quoteIf my answer helped you,then please do press Yes below. Thanks and Regards. Manish Bafna. MCP and MCTS. "Dave" wrote: > How do I set the column width if I don’t show the header? > > Example: > I set the column width with the following code: > > <asp:TemplateColumn> > <HeaderStyle Width="175px"></HeaderStyle> > <ItemStyle></ItemStyle> > <ItemTemplate> > … > > Width of column is 175px > > Then I turned off the header > > <asp:datagrid ShowHeader="False" … > > Width of column is 95px > > -- > Thanks in advance, > Dave
Problem with Hyperlink to text files
asp:Menu, DynamicItemTemplate and formating text asp:menu control and underline on menuitem text asp.net ajac and cacheRolesInCookie Multiple User Controls How to bind a textbox to a data source subject Validation Summary MessageBox Validation Summary MessageBox Problem with Hyperlink to text files |
|||||||||||||||||||||||