|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Column Width of DetailsViewHow do you set the width of the columns in a detailview? The titles have way
too much room, and I want to control that. Thanks, Don Hurley Hi Don,
Thank you for your post. Based on my understanding, your question is about how to set the field name column's width in DetailsView. Please feel free to post here if I've misunderstood anything. You can use the FieldHeaderStyle-Width property of DetailsView to control the first column's width of generated table. For example: <asp:DetailsView ID="DetailsView1" FieldHeaderStyle-Width="300px" runat="server" AutoGenerateRows="False" DataKeyNames="ProductID" DataSourceID="SqlDataSource1" Width="1000px" Height="50px"> This will set the first column's width to 300px, and the other column's width will be 700px. Hope this helps. Please feel free to post here if anything is unclear. Regards, Walter Wang (waw***@online.microsoft.com, remove 'online.') Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights.
ValidationControl evaluationfunction ASP.NET 2.0
Gridview extra header row with command button and paging Responding to changes to controls in a Repeater Response.Redirect not being called after sending an email Web control which is a combobox with an editable portion XML Dropdownlist- Custom DataTextField asp.net 1.1 X 2.0 compatibility issue how to trigger an action by clicking in a field of detailsview? Anyway to enable a ToolTip for each ListItem Is it possible to get only the "Selected" text out of a TextBox |
|||||||||||||||||||||||