Cell Width in DataList

Results 1 to 2 of 2

Thread: Cell Width in DataList

  1. #1
    Join Date
    Dec 1969

    Default Cell Width in DataList

    Is there a way to set the cell width in a DataList?

  2. #2
    Join Date
    Dec 1969

    Default RE: Cell Width in DataList

    The datalist properties should be very similar to those of the datagrid. With the DataGrid, I am using the following to set column widths:<BR><BR>&#060;Columns&#062;<BR><BR>&#060;AS P:BoundColumn HeaderText = "Ref" DataField = "Ref"<BR> ReadOnly = "True" &#062;<BR><BR> &#060;ItemStyle Width = "25" /&#062;<BR>&#060;/ASP:BoundColumn&#062;<BR>&#060;/Columns&#062;<BR><BR>I use the datagrid alot, but haven&#039;t use the datalist much. You might try this approach with your datalist and see if it works.<BR><BR>Regards,<BR><BR>Tom T

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts