Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resizing User control in web browser

Status
Not open for further replies.

scorpion1974

Programmer
Mar 21, 2004
7
US
Hi,
I am developing an ASP.NET page which embeds Usercontrol using OBJECT tag.I want usercontrol to resize with Internet Explorer's window resize.e.g. if I resize IE's window by stretching it's handle then UserControl's height and width should also resize corresponding to the width and height of IE's window.
Please let me know if anybody knows how to achieve this funtionality.Thank you in advance.
 
That is what I am not looking for.Does anybody know the solution?I know I can resize the applet in browser but same code doesn't work for <OBJECT> tag and UserControl(Windows Control Library) in ASP.NET.

Thank you and waiting for proper solution.
 
Scorp:

I did not have time to evaluate completely your question, and only threw up the metabuilder site as potentially related.

I only posted that "in case" it might have helped - but your response suggests that I have wasted your time. A bit of courtesy can go a long way in an environment like this.

In the future, should I have a "proper solution" to one of your questions, do you think I will answer you after a response of this type?

Professionalism and academics requires at least a civilized and "proper" response. Courtesy is tantamount here at Tek-Tips.
 
That was a bit harsh scorpian.

The easiest way to do what you want to do is set the width/height = a percentage of the page size (10% rather than 100px). Otherwise, look to Javascript and server side assignment of functions (through Attributes.Add).
 
I apologize if anybody offended.My intention was never to hurt anybody.I appreciate your time and help and expect the same in the future.
Thank you

scorpion
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top