Hallo, 

> 
> Wenn ich aber ein HTML-Steuerelement nehme in der Form: 
> <Input type="text" runat="server" ID="txtInput2" Width="50" 
> Onchange='txtInput1_Changed()/"'>
> Dann kommt beim Start der Seite: The base class includes the 
> field 'txtInput2', but its type 
> (System.Web.UI.WebControls.TextBox) is not compatible with 
> the type of control (System.Web.UI.HtmlControls.HtmlInputText).
> 
> Und wenn ich das Runat="Server" weg lasse bekomme ich ein 
> Fehler Popup mit "Error: Expected '}'"
> 

<asp:TextBox ID="txtInput3" Runat="server"
OnChange="document.all('txtInput2').focus()" />

funktioniert hier problemlos

Gruss

Alex


_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an