[lnkForumImage]
TotalShareware - Download Free Software

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


 

Otto

1/15/2002 5:14:00 AM

I'm creating mobile Link by programaticaly, and i want redirect that link to
another form. I my sample i can't view the "Test" text at form fTest.
any suggestion ?

Below is my code :
<script runat=server>
Sub fMain_OnActivate(sender as Object, E As EventArgs)
Dim mLink as System.Web.UI.MobileControls.Link
Dim r As TableRow
Dim c As TableCell
Dim I as Integer
r=New TableRow
For I =0 to 2
C=New TableCell
mLink = new System.Web.UI.MobileControls.Link
mLink.Text="Link" & I
mLink.NavigateURL="#fTest"
C.Controls.Add(mLink)
r.cells.Add(c)
Next
table1.rows.add(r)
End Sub
</script>

<mobile:form runat=server id=fMain onActivate=fMain_OnActivate>
<asp:Table id="Table1"
GridLines="Both"
HorizontalAlign="Center"
Font-Name="Verdana"
Font-Size="6pt"
CellPadding=0
CellSpacing=0
Runat="server"/>
</mobile:form>

<mobile:form runat=server id="ftest">
<mobile:label runat=server text="Test"/>
</mobile:form>



Thank's



Otto