[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

??How to assign value to Object in The Panel

Otto

1/8/2002 10:21:00 AM

Hi All,

I want to set the default value at my textbox mobile control inside panel
mobile Control.
I was trying put the code at the Page_Load but the error is "TextBox is Not
member Of....."

my codes are:

Private Sub Page_Load(ByVal sender as System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Me.TextBox1.Text=10 ' Assign value 10 to TextBox
End Sub



<mobile:form runat=server id=form1>
<mobile:panel runat=server id=panel1>
<mobile:DeviceSpecific id=devicespecific1 runat=server>
<Choice xmlns="Mobile HTML3.2 Template" Filter
="isHTML">
<ContentTemplate>
<table>
<tr><td><MOBILE:TEXTBOX
Runat=server id=Text1></Mobile:TextBox></td></tr>
</table>
</ContentTemplate>
</Choice>
</mobile:DeviceSpecific>
</mobile:panel>
</mobile:form>



Thank's in advance.





Otto


1 Answer

(Andres Sanabria)

1/9/2002 5:16:00 AM

0