Hi All:
I hope that this is the right group for posting the following (newbie)
question:
Using VS.NET 2003 I have created a datagrid, where I want to ensure
that all text both when viewed AND when edited is displayed in Verdana
9px
This code goes like this:
<asp:DataGrid id="MyDataGrid " runat="server"
autogeneratecol umns="False" AlternatingItem Style-BackColor="#C0C 0C0"
AllowPaging="Tr ue" OnPageIndexChan ged="PageChange "
OnEditCommand=" EditDataGrid_Ed it" OnCancelCommand ="EditDataGrid_ Cancel"
OnUpdateCommand ="EditDataGrid_ Update" PageSize="10"
Font-Name="Verdana" Font-Size="9px" HeaderStyle-BackColor="#88B 5DA"
Width="100%">
<EditItemStyl e Font-Name="Verdana"/>
<EditItemStyl e Font-Size="9px"/>
<Columns>
(etc, etc)
Whereas all the viewable data is displayed in Verdana 9px, whenever I
try to edit something the letters inside the textboxes of the selected
item is displayed as something that looks like Arial 10px.
Any suggestions will be highly appreciated.
Thanks
TB
I hope that this is the right group for posting the following (newbie)
question:
Using VS.NET 2003 I have created a datagrid, where I want to ensure
that all text both when viewed AND when edited is displayed in Verdana
9px
This code goes like this:
<asp:DataGrid id="MyDataGrid " runat="server"
autogeneratecol umns="False" AlternatingItem Style-BackColor="#C0C 0C0"
AllowPaging="Tr ue" OnPageIndexChan ged="PageChange "
OnEditCommand=" EditDataGrid_Ed it" OnCancelCommand ="EditDataGrid_ Cancel"
OnUpdateCommand ="EditDataGrid_ Update" PageSize="10"
Font-Name="Verdana" Font-Size="9px" HeaderStyle-BackColor="#88B 5DA"
Width="100%">
<EditItemStyl e Font-Name="Verdana"/>
<EditItemStyl e Font-Size="9px"/>
<Columns>
(etc, etc)
Whereas all the viewable data is displayed in Verdana 9px, whenever I
try to edit something the letters inside the textboxes of the selected
item is displayed as something that looks like Arial 10px.
Any suggestions will be highly appreciated.
Thanks
TB
Comment