hi,
i can someone help me because i am struggling to link my button to the list box, so when the user clicks the button the list box will appear underneath it and when someone clicks another button the list box will move and appear the second button clicked. the following is the code i have so far, iam using visual web developer
thanks for any help
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" BackColor="#99CCFF"
BorderColor="#99CCFF" ForeColor="Black" Height="26px" Text="Number"
Width="52px" />
<asp:Button ID="Button2" runat="server" BackColor="#99CCFF"
BorderColor="#99CCFF" Height="26px" Text="2" Width="52px" />
</div>
<asp:ListBox ID="ListBox1" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
</asp:ListBox>
</form>
</body>
</html>