(Craig)
2/26/2002 9:01:00 PM
I have the following device-specific code:
<mobile:Panel id="Panel1" runat="server">
<mobile:DeviceSpecific id="DeviceSpecific1" runat="server">
<Choice xmlns="Mobile HTML3.2 Template" Filter="isHTML32">
<ContentTemplate>
<br/>
<table>
<tr>
<td>
<mobile:Label id="lblExpDate" runat="server" Text="Exp
Date:" />
</td>
<td>
<mobile:Label id="expirationDate" Text=""
runat="server" BreakAfter="false" /><mobile:Command
id="cmdExpirationDate" Text="..." OnClick="cmdExpDate_Click"
runat="server" />
</td>
</tr>
</table>
</ContentTemplate>
</Choice>
</mobile:DeviceSpecific>
</mobile:Panel>
Then, I have the mobile:calendar control in another mobile:form on my
page, that when the user selects the date, I want the label
'expirationDate' to display the selected date. Everything works fine,
the form displays, the user clicks a button, is sent to the calendar
form, selects a date, but when I try to set the 'expirationDate' Text
on the mobile:form above, I can't get it to work. I've tried using
FindControl(...) to access the Label, but I always get Nothing in
return. I assume I am not understanding what hierarchy I have to go
through to get to the control/Label. How do I access the
'expirationDate' Label so I can change its .Text = "some date"? (VB,
please!)
Thanks!
Craig