Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.mobile
Handling an event in a DeviceSpecific control
Alberto Añón
6/6/2002 9:01:00 PM
Hi all!
I have a Command button inserted into a Device Specific Control in a
Panel. Something like this:
<mobile:Panel id="pnl" runat="server" Alignment="Left">
<mobile:DeviceSpecific id="DS1" runat="server">
<Choice Filter="isHTML32">
<ContentTemplate>
<TABLE>
<TR><TD>
<mobile:Command id="cmdTest"runat="server">Test
</mobile:Command>
</TD></TR>
<TABLE>
</ContentTemplate>
</Choice Filter>
<mobile:DeviceSpecific>
<mobile:Panel>
How can I handle the event of cmdTest?
Thanks in advance.
Alberto
*** Sent via Developersdex
http://www.develop...
***
Don't just participate in USENET...get rewarded for it!
1 Answer
Baccarin
6/7/2002 4:49:00 AM
0
Hi,
I believe that this can help you:
<mobile:Command id="cmdTest"runat="server"
onclick="cmdTest_click">Test</mobile:Command>
And (for example) inside your C# code:
protected void cmdTest_click(object sender, System.EventArgs e)
{
// Your code here
}
Baccarin.
"Alberto Añón" <pequeberto@hotmail.com> escreveu na mensagem
news:uDebbyYDCHA.2884@tkmsftngp04...
> Hi all!
>
> I have a Command button inserted into a Device Specific Control in a
> Panel. Something like this:
>
> <mobile:Panel id="pnl" runat="server" Alignment="Left">
> <mobile:DeviceSpecific id="DS1" runat="server">
> <Choice Filter="isHTML32">
> <ContentTemplate>
> <TABLE>
> <TR><TD>
> <mobile:Command id="cmdTest"runat="server">Test
> </mobile:Command>
> </TD></TR>
> <TABLE>
> </ContentTemplate>
> </Choice Filter>
> <mobile:DeviceSpecific>
> <mobile:Panel>
>
> How can I handle the event of cmdTest?
>
> Thanks in advance.
>
> Alberto
>
>
>
> *** Sent via Developersdex
http://www.develop...
***
> Don't just participate in USENET...get rewarded for it!
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Handling an event in a DeviceSpecific control
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password