[lnkForumImage]
TotalShareware - Download Free Software

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


 

Guy

9/20/2002 8:42:00 PM

Hello, Could some one explain how the responce from the
server i.e iis asp c# is soposedly constructed. The
reason being is that all i ever seem to get is a none wml
content that can only browsed via html browser !?

should the .net developed mobile controls figure this out
or do i need to control what is returned via code or
settings some where.

Newbie to MMIT.

Thank you for any help.
1 Answer

William Luu

9/21/2002 4:37:00 AM

0

Well, yes, you should be able to view the ASP.NET pages created using the
Mobile Internet Toolkit in a WAP browser...

Just make sure you're using the Mobile Internet Toolkit project files,
rather than standard Web Forms...

You should have something like this:

<body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm...
<mobile:Form id="WelcomeForm" runat="server">
<mobile:Label id="Hello" runat="server">Hello Page 1</mobile:Label>
<mobile:Link id="next" runat="server" NavigateUrl="#Page2">Next
Page</mobile:Link>
</mobile:Form>
<mobile:Form id="Page2" runat="server">
<mobile:Label id="Two" runat="server">This is Page 2</mobile:Label>
<mobile:Link id="previous" runat="server"
NavigateUrl="WelcomeForm">Previous Page</mobile:Link>
</mobile:Form>
</body>

But yeah, you can have C# as either code behind, or inline, so to say... I'm
only guessing what your problem may be, but it could also be to do with your
copy of IIS does not yet have the mime-type registered properly?


Will


"Guy" <guy@gsimcox.freeserve.co.uk> wrote in message
news:3e1f01c260d5$68082520$36ef2ecf@tkmsftngxa12...
> Hello, Could some one explain how the responce from the
> server i.e iis asp c# is soposedly constructed. The
> reason being is that all i ever seem to get is a none wml
> content that can only browsed via html browser !?
>
> should the .net developed mobile controls figure this out
> or do i need to control what is returned via code or
> settings some where.
>
> Newbie to MMIT.
>
> Thank you for any help.