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):-

VB Code:
  1. Public Property ControlTop() As Integer
  2.         Get
  3.             Return iControlTop
  4.         End Get
  5.         Set(ByVal value As Integer)
  6.             iControlTop = value
  7.         End Set
  8.     End Property
and then use ControlTop variable within the style section of the table definition :-

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" />
could someone please point out the obvious and tell me how it should be done.
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