Hi
How can I set the width of one control to be the same as that of another. I tried this
Button1.Width = New Unit(Button2.Width.Value)
But it only works when the width of button 2 is set explicitly at design time. If I leave the propery blank, then the width of button2 comes back as 0.0, and results in making button 1 invisible.
Thanks
Mark Mark
How can I set the width of one control to be the same as that of another. I tried this
Button1.Width = New Unit(Button2.Width.Value)
But it only works when the width of button 2 is set explicitly at design time. If I leave the propery blank, then the width of button2 comes back as 0.0, and results in making button 1 invisible.
Thanks
Mark Mark