Link to home
Start Free TrialLog in
Avatar of lapucca
lapucca

asked on

How to set textboxes width when detailsview is in Edit Mode?

Hi, I'm using vs2013, asp.net web form and C#.
In default readonly mode, I set the header to 15% of width, that's first column.  The 2nd column then by default is 85%.  I only have 2 columns.  All text displayed to the max length in the 2nd column, no problem.

I set datasource to a data table object that I created and populated with a web service call.  I do not have each bound filed identified in my code.

In code, when I set the control to Edit mode, the 1st column still appears to be 15% and 2nd column 85% but all the textboxes in 2nd column is too short.  How can I specify for these text boxes to use the entire 2nd column or most of it?
Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Deja Anbu
Deja Anbu
Flag of Oman image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lapucca
lapucca

ASKER

That worked very well.  Thank you.
Glad it helped!