Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Absolute positioning of a user control
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00692277
Message ID:
00692505
Vues:
27
>>>Is it possible to position a usercontrol absolutely when I drop it onto a page? Or is putting it into a table necessary?
>>
>>It is not necessary but if you don't do it, it's position/size won't change when IE is resized. Wrapping it into a table is the way to go.
>
>Hi Jayesh. I didn't quite understand your reply. Without a table, I can position a usercontrol absolutely? If so what do I have to change about the control or the page to do this?

Sorry for the confusion.

Yes. It is possible to position a usercontrol absolutely but then it won't resize itself when browser is resized.

In IDE, there is no way to assing absolute position using Property Sheet or any other builder. You will have to go to HTML view and add Style property of that user control.

For example,
<uc1:WebUserControl1 style="Z-INDEX: 102; LEFT: 563px; POSITION: absolute; TOP: 79px" id="WebUserControl11" runat="server"></uc1:WebUserControl1></form>
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform