changing width of a user control with c#
Posted on 2005-03-31
I have a drop down user control, I am trying to resize it from the page that contians the user control, I am not getting errors, and if I set and check the width of the user control from teh containing page with:
msg.Text = Convert.ToString(drpdwnAddressState.drpDwnWidth);
I am getting 500px as the return value, but yet the control does not actually resize. The method I am calling form the user control is:
public void setDrpDwnWidth(int intWidth)
DrpDwnStates.Width = intWidth;
What am I missing?