asp.net detailsview how to set edit field width
I have a detailsview bound to a LINQ SQL query.
Display is fine, but when us开发者_开发百科er switch to Edit mode, the width of all fields to edit is REDUCED, and there is no wordwrap!
How can I set width according to database column length for instance, or to a fixed value of mine?
You can use EditRowStyle and/or EditDataRowStyle properties of DV. You can set styles for individual control in the EditItemTemplate. You can share some screenshot or code if there is any problem setting those properties.
加载中,请稍侯......
精彩评论