Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > Mobile control and output tag

Reply
Thread Tools

Mobile control and output tag

 
 
Sara T.
Guest
Posts: n/a
 
      10-22-2004
Is there any mobile control on ASP.net support to write some tag?

For example:

I need to write <h1> by setting to property text in textview or label
control, when I see coding in html source, it is gone.

I thought the mobile control will be eliminated for some tags.


 
Reply With Quote
 
 
 
 
JuanDG
Guest
Posts: n/a
 
      10-29-2004
ASP.NET Engine (which I explained on an earlier post) is designed to render
pages in the most accurate way for the device requesting them.

That's why we use generic tags like <mobile:form> or <mobile:label>.
By using the "mobile" keyword in the start of the tag we're telling the
ASP.NET Engine to replace those tags with equivalent tags in the markup
language supported by the device requesting the page.

In the namespace System.Web.UI.MobileControls.Adapters you can find all the
adapters that render mobile controls into specific tags of a given markup
language (like WML, xHTML, cHTML).

That's the reason why all the specific markup (like HTML) that you write in
a mobile web form will be removed at runtime, because it can't be adapted
into other markup languages. If you want to use a specific feature supported
only by a few devices or a single markup language you hay to use the custom
device filters.

I hope I made myself clear, if not, please tell me so I can elaborate some
more.

Regards!!!!

--

Juan David Gomez A.
Microsoft Certified Professional
Analista de Desarrollo - PSL S.A.
Web and Wireless Banking
Medellin - Colombia

"Sara T." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there any mobile control on ASP.net support to write some tag?
>
> For example:
>
> I need to write <h1> by setting to property text in textview or label
> control, when I see coding in html source, it is gone.
>
> I thought the mobile control will be eliminated for some tags.
>
>



 
Reply With Quote
 
 
 
 
Roman O
Guest
Posts: n/a
 
      11-15-2004
> If you want to use a specific feature supported
> only by a few devices or a single markup language you hay to use the
> custom
> device filters.
>


All is clear, but can you explain, how to output <H1> , for example, for
Pocket PC?

Thanks!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM



Advertisments