Solved

Unable to apply stylesheets to the command button of ASP.NET mobile controls

Posted on 2006-06-27
1
984 Views
Last Modified: 2013-12-27
We are developing a WAP site using ASP.NET mobile controls.
We want to reduce the default size of button... for this we are trying to apply stylesheet to the command control.

The effect is visible on design mode but when the page gets rendered the stylesheet doesn't work. The size of the button remains same.

Please let us know proper method of applying style sheet on mobile command control. Or else is there any other way of reducing the size of the button.
0
Comment
Question by:lambenttek
1 Comment
 
LVL 2

Accepted Solution

by:
Mr_Lenehan earned 250 total points
ID: 17002475
Your problem for this question and last is that you are trying to make a fancy website using mobile controls. Mobile controls render as WML which isn't as flexible as HTML.  What you see in you design window is what it would look like if it rendered in HTML, which it won't on a mobile... unless the mobile accepts HTML... and even then, you can not be sure that the HTML parser built into the phone will give you the same result as you would on IE or Firefox - browser compatibility is not limited just to PC browsers.

What you should try is making two sites, one with your controls for low colour which will be rendered in WML or HTML depending on what content type your phone accepts, and one mini HTML site with everything scaled down.

Your phone browser is not a like a PC web browser so you will be limited in what you can achieve. If you expect to get a PC browser type site on a mobile device, you'll need a PDA that can run PC browsers.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
DECT technology has become a popular standard for wireless voice communication. DECT devices are not likely to be affected by other electronic devices and signals because they operate in a separate frequency-band.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now