Total newbie at dot net dabbler at VB6 attempting to get to grips with VWD express.
I have designed a user control (basically a table containing 24 buttons in cells)
When I use this control I need to be able to set the Top and Left properties of the table from the calling page.
To get the value into the usercontrol I think I should use (Top only - Left would be the same):-
and then use ControlTop variable within the style section of the table definition :-VB Code:
Public Property ControlTop() As Integer Get Return iControlTop End Get Set(ByVal value As Integer) iControlTop = value End Set End Property
could someone please point out the obvious and tell me how it should be done.HTML Code:<table style="z-index: 100; width: 600px; height: 45px"> <tr> <td style="width: 4%" > <asp:Button ID="Button1" runat="server" Style="z-index: 100" Text="01" OnClick="HButton_Click" /> </td> <td style="width: 4%"> <asp:Button ID="Button2" runat="server" Style="z-index: 100" Text="02" OnClick="HButton_Click" />![]()
The above 'exposes' ControlTop' but I would much prefer to expose 'Top' correctly but this gives me problems as well, a solution for both would be excelent.
I have tried many things but cannot get anything to work - probably my total lack of HTML knowledge
Thanks in advance





Reply With Quote