I have a user control embedded in an aspx page through the <object> tag. I want the size of this embedded object (or the size of the control) to change dynamically based on the data being loaded into the user control.
What I notice is this: the control doesn't seem to resize properly, but when I put a MessageBox.Show() into the code where the size is being recalculated, the resizing works better... does anyone know why this is and how I can fix it?
Thanks.
What I notice is this: the control doesn't seem to resize properly, but when I put a MessageBox.Show() into the code where the size is being recalculated, the resizing works better... does anyone know why this is and how I can fix it?
Thanks.