you need to add runat="server" onto the asp:dropdownlist.
"Solange Ferreira via .NET 247" <anonymous@dotnet247.com> wrote in message
news:uf8Fq0QYEHA.384@TK2MSFTNGP10.phx.gbl...
> (Type your message here)
>
> --------------------------------
> From: Solange Ferreira
>
> Hi to All!
>
> I created te following aspx file:
> "
> <%@ Page language="c#" Codebehind="WebForm1.aspx.cs"
AutoEventWireup="false" Inherits="Teste.WebForm1" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
> <HTML>
> <HEAD>
> <title>WebForm1</title>
> <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
> <meta name="CODE_LANGUAGE" Content="C#">
> <meta name="vs_defaultClientScript" content="JavaScript">
> <meta name="vs_targetSchema"
content="
http://schemas.microsoft.com/intellisense/ie5"> > </HEAD>
> <body MS_POSITIONING="GridLayout">
> <form id="Form1" method="post" runat="server">
> <asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 134px; POSITION:
absolute; TOP: 127px" runat="server" Text="Button"></asp:Button>
> <asp:DropDownList id="DropDownList1" style="Z-INDEX: 103; LEFT: 8px;
> <asp:Label id="Label1" style="Z-INDEX: 102; LEFT: 72px; POSITION:
absolute; TOP: 71px" runat="server">werwerwerwerwerwe</asp:Label>
> </form>
> </body>
> </HTML>
>
> "
>
> When i do "view in browse" only the label appeared.
> I don't know why the button and dropdownlist disappeared.
> Could anyone give me any tip?
>
> Thanks
>
> Solange Ferreira
>
> -----------------------
> Posted by a user from .NET 247 (
http://www.dotnet247.com/)
>
> <Id>i7E0inon0EiG12eSHzWSuA==</Id>