Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / November 2004

Tip: Looking for answers? Try searching our database.

Mobile control and output tag

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sara T. - 22 Oct 2004 12:03 GMT
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.
JuanDG - 29 Oct 2004 22:00 GMT
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

> Is there any mobile control on ASP.net support to write some tag?
>
[quoted text clipped - 4 lines]
>
> I thought the mobile control will be eliminated for some tags.
Roman O - 15 Nov 2004 12:36 GMT
> 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!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.