Mobile Web Controls vs. Web Controls

I am using VS2003 and I have realized that Mobile Web Controls are very basic and simple.

So I saw in a post the way to use Web Controls inside Mobile Web Forms. Since then, I often use Web Controls instead of Mobile Web Controls.

I put the Web Control inside a Mobile DeviceSpecific and put this DeviceSpecific inside a Mobile Panel.

Why the Mobile Controls are so simple?  Does it happen the same in VS2005 or 2008?

And, is it right to use only Web Controls inside Mobile Web Forms?


11/29/2007 9:49:28 AM 3052 articles. 0 followers. Follow

2 Replies

Similar Articles

[PageSpeed] 47
Get it on Google Play
Get it on Apple App Store

Why the Mobile Controls are so simple?


They are simple because they support a great feature called adaptive rendering. What this means is depending on the target mobile device, the control will alter its output to ensure compatibility for formats such as WML, HTML, xHTML, cHTML etc That is why they are so simple as to achieve this it must adopt the least common denominator across all formats.

And, is it right to use only Web Controls inside Mobile Web Forms?


By doing that you are adding the web controls to a device specific filter which I assume is set to HTML. That means your filter and all its control would only be rendered on devices that support HTML, which can be a problem if someone with a WML handset tries to browse the page as they will get a blank screen.

11/29/2007 8:01:40 PM


12/10/2007 10:04:06 AM

Similar Artilces:

Desktop Web Controls vs. Mobile Web Controls
Hi, after having a look at the posts in this forum about mobile issues, i still have some doubts. Hope someone can clarify this to me:VS2005 does not need MMIT (currently known as ASP .NET Mobile Controls) because it´s already included in 2.0 version, right?In VS2005, if i decide to build a web site to be accessible via a desktop browser or a mobile device, the right thing to do is use the asp .net web application template? In this case, the rendering is automatic depending on the device, correct?If i decide to create a web page to be accessible via a device browser, then, for now, i still h...

Web control in web control
Hi,There are two simple web user controls A and B, where B contains A. They just display the bunch of text boxes, so I do not need them even in tool pane. They sit in the same project next to web form.I noticed that web user control put on ASPX page does not appear in code behind, but if I create it with protected keyword and name being exactly the same as id it works fine. I can access such a web control from code behind and see the value assigned in IE. The problem is that the same routine does work for my A web control in B. When I assign the value IE, I keep getting null reference. ...

controlling an object in a web control from the page the web control is placed in
I have created a web control in that has an image button and an image. when it loads the image button is visible and the image is not. I want to be able from the page which "includes" the web control to set the image button to invisible and the image to visible. When I tried this, the main page didn't recognise the image button or the image (both < asp: objects). help would be gratefully appreciated. oh yeah, it's inline code so any code behind stuff will just confuse me ;) Some code please.-- Justin Lovell...

Use Web Control In a Web Control
Is this possible?I am working with an aspx page that consists of many different web controls.One of the web controls contains search criteria.  One of the criteria is a date range where I am trying to add a popup calendar --> which is another web controlCan I register the popupcaledar control on the questionaire control?  I have tried, but nothing seems to be registered.Any ideas will GREATLY help.Relax and have some Home Brew!Prosecute the Owner - Don't PERSECUTE the Breed!Breed Specific Legislation targets the WRONG end of the LEASH! Without seeing your code we can'...

web controls and web user control
i have a problem in a web form , I have a webform that contains a web user control which in turn contains a html input form ,the web control events don't fire up ,When I click button ,no effect ,I don't know what is the effect of the html form which is in the web user control on the web controls in the web form ?? can any one help me the web control event should be handle in the code behind page, is the event handler for the button you are clicking registered? You can try double clicking the button, should give you the default btn_click event handler in code behind. Also, make ...

access controls on web user control x from web user control Y
I have 2 web users controls in a page and I would like to get or set the selected values of a few dropdown boxes on web user control X from web user control Y and I also would like to know how to access functions that are on a web user control X from a web user control Y, is this possible? How can I do it? User can access and set the values of the User Control from .aspx page through properties,using javascript and in code-behind of aspx page.The details of it are shown below Using PropertiesIf the Sample.ascx control has two textboxes and submit button.You can access the valu...

Why mobile controls
I see a lot of discussion here on the mobile controls for wireless/pdas etc. Most of the modern devices (browsers) on the market today support XHTML/HTML so why continue to go down the mobile controls route? Why not build small footprint pages using regular web form controls? I realize there is a compatability issue with older devices that only support wml but what if campatability with older (>2/3 years) didn't matter? MS even dropped support for mobile forms from VS2008 so my guess is this is their thinking also. Love to know what peoples thoughts are on this and what direction the...

Web User Control to Web User Control...
Hi, I have 2 User controls on a page and want Control1 to call a method of Control2. Is this Possible? Example: Con1 = Datalist showing products, each with a Quantity Box and a Button. Con2 = Repeater showing Cart Preview (name, Price) in page.aspx. When I click on the button on the DataList in Con1 it adds the item into the Session based Cart. However it does not update the Cart Preview. I need to call BindPreview() in Con2 in order to update the Cart Preview... Does that make sense? argh! any help much appreciated! PeteWeb Design Nottingham, UK Well I can call BindPreview() from m...

Single page with multiple user web controls VS Multiple page with specific user web controls
I have a question regarding single page with multiple user web controls vs multiple page with specific user web controls   Option 1: I am of the opinion to have multiple pages with specific user web controls and use an object to store all the information as the user navigates through the application. And finally at the end, read this object and save all the information to the backend database.   Option 2: My respected team member suggests that we have only one page, with all the specific user web controls and not use an object, instead show/hide the user web controls based ...

Reusing custom web control in the same web control
Hello, I'm newbie in web development and of course I am actually trying to build my first page and I'd like to know if it is possible to make a custom webcontrol that will contain itself. Let's say I want to draw a folder hierarchy in treeview-like structure. I thought I could make a control that will display a folder and if this folder contains subfolders then for each the control will include itself. Is this even possible? What would you suggest me to do to? Thanks in advance. TomTom Hagen If the control can have child controls, then I s...

Controlling web control instances on Web Form
I have created a composite control, extending functionality of the Hidden Control. However, I would like to prevent the user from adding this control to the page multiple times. I only want one instance of the control on the Web Form. What setting in my project to I adjust to enable this functionality? I can not find it in any of the books that I have referenced. Is this a setting or is this code that has to be added to the inheriting class. Looks like there is no standard apporach. But I'd consider using static field to count number of created objects and throw exception if second object ...

HTML Controls vs Web Controls
Is there a cut and dry or "best practice" answer for when to use straight HTML, the HTML controls (runat=server), or the web controls? Thanks! You could have a look here: ASP.NET Server Controls Recommendations and here, perhaps: Introduction to ASP.NET Server Controls-- Mike PopeASP.NET User EducationThis posting is provided "AS IS" with no warranties, and confers no rights. Thanks!!!...

Html controls vs. Web controls
Can someone give me some examples if when it is best to use html controls over web controls and vice versa? Thanks, tdnxxx444 Web controls show up as <asp:class runat=server> (the "asp" may be replaced by other prefixes). They may have a corresponding HTML tag that they represent, but generally they are there to build all the HTML necessary for an idea. For example, something simple like the CheckBox web control still outputs several tags when you View Source: <span><input type=checkbox><label for>. Something like the Calendar control generates an en...

Can you return .net web controls in a .net page from a web service?
I've got a problem with a project. I've got to compile an entire .net page and return it as part of a Web Service for display. The problem I have is that I need to add WebControls and functionality to the page so that not only the html content and images are displayed (which I've managed) but that textboxes, labels, buttons and datasets can be displayed also. Essentially I need to make a call from one site for a page, populate the page and return it in a state as though it resided on the same server/webspace as the calling page. Code is currently built as follows into a string: strOpenHT...

Web resources about - Mobile Web Controls vs. Web Controls -

Control - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Stamp duty spiralling out of control: Property Council puts pressure on state leaders
ACT rakes in more than twice as much from property sales than in 2000, Deloitte report finds.

Venezuela's Opposition Wins Control of Legislature - Al Jazeera America
The opposition won at least 99 seats in Venezuela's 167-seat legislature, in a major setback for President Nicolas Maduro

Arizona leaders welcome 'Leave No Child Behind' successor, less federal control Arizona leaders welcome 'Leave No Child Behind' successor, less federal control The Senate gave final approval ...

Google seems more determined than ever to take control of Android
... to ad money. However, Google grabbed the lion’s share of the smartphone market by giving Android away. That means it lost the ability to control ...

Sugr Cube is a Sweet Spotify Speaker with Touch & Motion Control
... goodies, like Spotify Connect, Pandora, and, eventually, Air Play integration. Sugr also had a little bit of fun with volume and track controls ...

NV's Fiore: 'That 5 Year Old Grandson Of Mine Has Total Trigger Control'
It's very likely you've seen Michele Fiore's family Christmas photo by now, it's been all the rage at Idiocracy viewing parties everywhere. If ...

Obama’s Gun Control Measures Won’t Solve Anything
France’s strict background checks and weapons bans didn’t stop the terrorists from getting the AK-47s and explosive belts.

Shocking Facts About U.S. Gun Control
The Second Amendment has been the subject of debate for centuries now, and you might be surprised to find where that still-unsettled dispute ...

Chinese university finds a way to control cars with your brain
While Google and other automakers were developing autonomous cars, a group of Chinese researchers were working on a way to control vehicles with ...

Resources last updated: 12/10/2015 4:07:02 AM