[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

NOT ANSWERED BEFORE - Links and Softkeys

Dan Black

3/7/2002 6:38:00 PM

If I build a panel and put a bunch of Links on it, each with a softkey label
of its own, the WML renderer seems to take the second Link on the page and
create an 'options' link out of it. Then if I try to add an options link of
my own, I end up with a menu of items to choose from on the right softkey.
This isn't the behavior I want.

How can I prevent the renderer from creating this '<do type='options'> link?




1 Answer

Shanku Niyogi

3/9/2002 2:26:00 AM

0

I recently posted an answer to the same problem on the aspngmob DL. Here it
is again:

If you want to change this behavior, you'll need to change the device
configuration in machine.config. Edit the file, and where you see the phrase

numberOfSoftkeys = ${softkeys}

substitute it with

numberOfSoftkeys = 1

Now, MMIT will only recognize and use the first softkey. You can then use a
ContentTemplate with the following WML to map the second key

<do type="options"><go href="..." /></do>

Shanku





--
This posting is provided "AS IS" with no warranties, and confers no rights.



"Dan Black" <thecrusher@wk.com> wrote in message
news:u5J5L7fxBHA.1684@tkmsftngp04...
> If I build a panel and put a bunch of Links on it, each with a softkey
label
> of its own, the WML renderer seems to take the second Link on the page and
> create an 'options' link out of it. Then if I try to add an options link
of
> my own, I end up with a menu of items to choose from on the right softkey.
> This isn't the behavior I want.
>
> How can I prevent the renderer from creating this '<do type='options'>
link?
>
>
>
>