[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 display Data in Cell Phones Dynamically using MMIT

Ganesh babu Natarajan

8/5/2002 9:09:00 AM

Dear All,

I have developed an Mobile Web Applicaytion for PDA and
now i am wkg on Cell Phones using MMIT.

I have a Foll Req i need to display the list of Details in
Cell Phone,

detail-1 detail-2 detail-3(All from DB)

When i did for PDA i solved this by using a String in Code
behind.

Inside a Device specific Content Template.
<Asp:Panel runat="server"><%= String %></asp:panel>

I want to fully use only the Mobile Controls for Cell
Phones.

How to solve this Problem,Have anyone Faced this problem
Thanks for suggestions.

Ganesh babu Natarajan
91-044-2201188/2201189







2 Answers

Frank Tse \(MS\)

8/21/2002 8:45:00 PM

0

You should be able to do databind within mobile controls in a similar way:
<mobile:label runat="server"><%# String %></mobile:label>

Frank
http://w...
"This posting is provided "AS IS" with no warranties, and confers no
rights."


"Ganesh babu Natarajan" <babu.ganesh@sella.it> wrote in message
news:0b3f01c23c4f$19267970$36ef2ecf@tkmsftngxa12...
> Dear All,
>
> I have developed an Mobile Web Applicaytion for PDA and
> now i am wkg on Cell Phones using MMIT.
>
> I have a Foll Req i need to display the list of Details in
> Cell Phone,
>
> detail-1 detail-2 detail-3(All from DB)
>
> When i did for PDA i solved this by using a String in Code
> behind.
>
> Inside a Device specific Content Template.
> <Asp:Panel runat="server"><%= String %></asp:panel>
>
> I want to fully use only the Mobile Controls for Cell
> Phones.
>
> How to solve this Problem,Have anyone Faced this problem
> Thanks for suggestions.
>
> Ganesh babu Natarajan
> 91-044-2201188/2201189


Ganesh babu

8/22/2002 8:21:00 AM

0

Thanks for the support frank.But some issues are
prevailing...


Sample Code:

<mobile:Form id="Form1" runat="server">
<mobile:Panel id="Panel1" Runat="server">
<mobile:DeviceSpecific Runat="server">
<Choice Filter="isWML11">
<ContentTemplate>
<asp:Panel Runat="server">
<mobile:Label Runat="server"><%#
Hello%></mobile:Label>
<mobile:Label
Runat="server">Winner</mobile:Label>
</asp:Panel>
</ContentTemplate>
</Choice>
</mobile:DeviceSpecific>
</mobile:Panel>
</mobile:Form>

I assigned a Value for Variable Hello in my Code
Behind.When i run the sample with Nokia(7210) Simulator it
says Invalid WMl Code.Is that mean that what MMIT Engine
emits by running this code is not understood by the
Browser.Kindly Suggest on this I am getting a Tough time
with this problem.

Regards
Ganesh babu Natarajan



>-----Original Message-----
>You should be able to do databind within mobile controls
in a similar way:
><mobile:label runat="server"><%# String %></mobile:label>
>
>Frank
>http://w...
>"This posting is provided "AS IS" with no warranties, and
confers no
>rights."
>
>
>"Ganesh babu Natarajan" <babu.ganesh@sella.it> wrote in
message
>news:0b3f01c23c4f$19267970$36ef2ecf@tkmsftngxa12...
>> Dear All,
>>
>> I have developed an Mobile Web Applicaytion for PDA and
>> now i am wkg on Cell Phones using MMIT.
>>
>> I have a Foll Req i need to display the list of Details
in
>> Cell Phone,
>>
>> detail-1 detail-2 detail-3(All from DB)
>>
>> When i did for PDA i solved this by using a String in
Code
>> behind.
>>
>> Inside a Device specific Content Template.
>> <Asp:Panel runat="server"><%= String %></asp:panel>
>>
>> I want to fully use only the Mobile Controls for Cell
>> Phones.
>>
>> How to solve this Problem,Have anyone Faced this problem
>> Thanks for suggestions.
>>
>> Ganesh babu Natarajan
>> 91-044-2201188/2201189
>
>
>.
>