User863329428 posted
I have created a web server control that contains a textbox and two image buttons. The images are a fixed size (in pixels). I would like to have the textbox fill the entire controls width minus the size of the images. This is not a problem
if the unit type passed in is not a percentage; however, I cannot figure out how to set the width of my textbox when a percentage is passed to the control.
For example, if each image is 20 pixels wide and the width property is set to 100%, how do I set my textbox width to 100% - 40 pixels.
Any help would be great.