Solved

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

Posted on 2006-06-27
1
989 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Now Available: Firebox Cloud for AWS and FireboxV

Firebox Cloud brings the protection of WatchGuard’s leading Firebox UTM appliances to public cloud environments. It enables organizations to extend their security perimeter to protect business-critical assets in Amazon Web Services (AWS).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco vWLC DHCP issues 36 100
Wifi Access 4 72
My smart TV isn't so smart 14 210
HP 8210 Printer drops offline 8 67
Hopefully this article will help someone who's had the same issues I had. I have a Dell Wireless 1390 WLAN Mini-Card and Windows 7, and for the past couple of days I was beyond frustrated because my wireless laptop was not able to access the Inte…
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.
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…

756 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