Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Mobile Controls


Message #1 by Suman Banerjee <suman_24@y...> on Wed, 6 Sep 2000 14:00:28 -0700 (PDT)
Hi

Need some help in using the ASP mobile controls. Could

you tell me what namespace I need to import to include

these controls.

thanks,suman





__________________________________________________

Do You Yahoo!?

Yahoo! Mail - Free email you can access from anywhere!

http://mail.yahoo.com/

Message #2 by Fredrik Normen <fredrik.normen@e...> on Thu, 7 Sep 2000 09:01:37 +0200

Hi, this is taken from asptoday.

I you don't have read about it you can find this helpfull I think.

THe whole site about the Mobile Control is located here:



http://www.asptoday.com/articles/20000825.htm



<snap>

Setting up the Mobile Controls is simple, although the exact techniques are

changing as the prototypes evolve. The controls are provided as a single

DLL, which is copied into the bin directory of the application under

development. This application must also be configured as a virtual

application directory within the Internet Service Manager tool.



Secondly, the sample config.web file must be added to the application

directory, or at least the <browsercaps> section of it copied into an

existing config.web file. It's through the BrowserCapabilities control (an

integral part of ASP+) that the mobile controls figure out what language and

format to create for return to the client.



At present, the prototype versions of the Mobile Controls only output either

WML for cellular phones or HTML for PocketPC devices and other clients.

However, the range of available formats will include things like XHTML,

HDML, cHTML, and others in the future.

</snap>



/Fredrik Normen



-----Original Message-----

From: Suman Banerjee [mailto:suman_24@y...]

Sent: den 6 september 2000 23:00

To: ASP+

Subject: [aspx] Mobile Controls





Hi

Need some help in using the ASP mobile controls. Could

you tell me what namespace I need to import to include

these controls.

thanks,suman



Message #3 by "Dave Sussman" <davids@i...> on Thu, 7 Sep 2000 09:02:59 +0100
The prototype mobile controls haven't been released yet - they were still

being worked on when the PDC release was being made. Remember, this is still

an alpha product, and won't be in beta until later in the year.



The Mobile Controls do have some quite cool stuff, and they've got some

great plans for them in the future. It's just a shame we can't all use them

now. Alex was given a special version by the team so he could write his talk

for the Wireless Conference.



Dave





"Suman Banerjee" <suman_24@y...> wrote in message news:11243@a...

>

> Hi

> Need some help in using the ASP mobile controls. Could

> you tell me what namespace I need to import to include

> these controls.

> thanks,suman

>

>

>

>





Message #4 by "PANT,ANUP (HP-Roseville,ex1)" <anup_pant@h...> on Wed, 6 Sep 2000 16:19:40 -0600
Hi:

I saw an article on this at asptoday.com by Alex Homer (Aug 25th). The

namespace used was

Mobile. It used Mobile:Panel, Mobile:Form and some more controls. The

article mentioned about this being available in BrowserCapabilites dll

control (it being integral part of .net). I could not find such a control in

the SDK. I did see something like PrototypeMobileControl.dll in FMExpense

sample that comes as a separate control in NGWS SDK.



I have not seen the sample myself throughly. You could read the readme.txt

file and try to figure out how to get going.



Please let me know how it goes or if you find more info.



Anup



-----Original Message-----

From: Suman Banerjee [mailto:suman_24@y...]

Sent: Wednesday, September 06, 2000 2:00 PM

To: ASP+

Subject: [aspx] Mobile Controls





Hi

Need some help in using the ASP mobile controls. Could

you tell me what namespace I need to import to include

these controls.

thanks,suman





__________________________________________________

Do You Yahoo!?

Yahoo! Mail - Free email you can access from anywhere!

http://mail.yahoo.com/



---

Message #5 by Suman Banerjee <suman_24@y...> on Thu, 7 Sep 2000 07:35:59 -0700 (PDT)
Hey Guys,



I did the get the Page compile error free. But when I

try to access the page thru the UP simulator, I get an

error saying "No data in the HTTP reply". I have added

the Mime type of my server to cater wml and wmls. The

normal wml pages comes up absolutely fine. Have you

encountered the same problem while using the ASP

mobile controls. The code below is the same from the

page Fredrick had passed over. Anything wrong with the

code???



<%@ Register TagPrefix="Mobile"

Namespace="System.Web.UI.PrototypeMobileControls" %>

<%@ Page

Inherits="System.Web.UI.PrototypeMobileControls.MobilePage"

%>



<script language="vb" runat="server">

  Sub Button_OnClick(Sender As Object, Args As

EventArgs)

    WelcomeMessage.Text = "Welcome '" & NameEdit.Text

& "'"

    SetCurrentPanel (pnlTwo)

  End Sub

</script>



<Mobile:Panel id="pnlMain" runat="server"> 

  <Mobile:Form runat="server">

    <Mobile:Label runat="server">Enter your

name:</Mobile:Label>

    <Mobile:TextBox runat="server" id="NameEdit" />

    <Mobile:Command runat="server" id="Button"

Label="OK"

            TargetType="FormAccept"

OnClick="Button_OnClick" />

  </Mobile:Form>

</Mobile:Panel>



<Mobile:Panel runat="server" id="pnlTwo">

  <Mobile:Form runat="server">

    <Mobile:Label runat="server" id="WelcomeMessage"

Type="Title"/>

  </Mobile:Form>

</Mobile:Panel>




  Return to Index