Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
et #1
Why does the datagrid ignore my set widths?
I have a grid with 4 columns and the grid will span the entire width of the
page, and seems to ignore the widths I set: Any idea why and what to do?
When I get a long lanstname, or long organization name, it spans the entire
page and looks silly. I do have wrap text checked.
<asp:datagrid id=dg runat="server" autogeneratecolumns="False"
HorizontalAlign="Right" BorderColor="Blue" BorderWidth="1px">
<HeaderStyle Font-Bold="True" Width="10px">
</HeaderStyle>
<Columns>
<asp:HyperLinkColumn Text="<img
src="images/BlueArrow.gif"border=0>" Target="_blank"
DataNavigateUrlField="id"
DataNavigateUrlFormatString="../frmContacts.aspx?id={0}"></asp:HyperLinkColumn>
<asp:BoundColumn Visible="False" DataField="ID"
ReadOnly="True"></asp:BoundColumn>
<asp:BoundColumn DataField="ContactName" HeaderText="Last
Name"></asp:BoundColumn>
<asp:BoundColumn DataField="OrganizationName" HeaderText="Organization">
<HeaderStyle Width="50px"></HeaderStyle>
</asp:BoundColumn>
</Columns>
</asp:datagrid>
et Guest
-
Stroke Widths
I'm having a problem with applying stroke widths in Freehand MX. (I *finally* updated from FH9 a couple of weeks ago) I seem to have no problem... -
Text box widths
I have two separate user controls on the home page of a website. Both controls include a textbox. The textboxes have a width specified but the text... -
Datagrid column widths
I try to format the column widths in the property builder/ Format area. Then when I run it the formating is not there??? -- ... -
Detect Pic Widths?
I'm working on an app to upload pictures to my Web page. As part of it, I need to know the dimensions of the images - how many pixels wide by how... -
ot - CSS Table Widths
Hi all First let me apologize for writing in this news group as its the only main one I read. I got a CSS style ..SetButton {width: 100px;...



Reply With Quote

