Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing width of image control
Message
 
To
05/12/2002 19:02:44
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00730130
Message ID:
00730134
Views:
18
>>How do I change the width of System.Web.UI.Webcontrols.Image control:
>>
>>I've tried:
>>
>>Me.img1.Width = 500
>>Me.img1.Width.Pixel = 500
>>Me.img1.Width.Value = 500
>
>Is it possible that once the image is created, in order to apply a style to it, you would have to use a style approach?
>
>
>protected System.Web.UI.WebControls.Image Logo;
><asp:calendar id="Logo" style="Z-INDEX: 1; LEFT: 0px; POSITION: absolute;
> TOP: 10px" runat="server" Width="500px" Height="500px" />
>
Hi Michel,

I'm not sure ... When I start typing the code "me.img1." intellisense kicks in - so it give the appearance that the width and height of the control can be changed programatically...
Al Williams

Anola MB, CANADA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform