jqTouch with ASP.NET Webforms - asp.net

The form tag that wraps all ASP.NET webform applications is causing jqTouch to completely break (as in, nothing works - none of the transitions, effects, etc). Has anyone gotten jqTouch to work with a ASP.NET webforms application?

For mobile development you can user Jquery mobile. it was developed exclusive for mobile and have a lot of features to mobile events. Is more tiny, faster and easy to use. I had use this with form tag, you just need to main the main , and the head page on each aspx.
You have all reference here.
http://jquerymobile.com/
And can open the api with google chrome browser
http://jquerymobile.com/demos/1.0a3/
Regards

Related

Mobile web app with out any javascript or JQuery?

I am wondering if there is a framework to develop mobile web applications which does not use javascript or jquery. Our client do not want to use any javascript or jquery in the projects. But when i look around for mobile web solutions, i see lots of jquery.
A "mobile" website does not require any special frameworks. You just have to design the site (HTML+CSS) so that it looks great on the smaller screens. Other than that it is the same old HTML forms as was 10 years ago (with the exception that you can use the new fancy HTML5 input types like calendar out of the box).
But you should dig deeper for the reasoning of "no JavaScript" since without it you will have to resort to whole page refreshes even for very small things (like 'hide field X when you choose USA in the address') and that will very negatively impact performance, especially on mobile devices where the network is slower.
If you use mobile MVC views, why use a framework? Why not create your own minimalist design that doesn't incorporate a lot of those features, but has the basic core HTML to define your user interface, and just allow the application to postback to the server? That would work well, and be efficient in mobile.

Application targeting multiple devices (Win 7 Phone, iOS, Android, Win 8)

I am working on a small hobby app - which would show some charts, and would be accessible by people using their mobile devices. I come from a Microsoft development background - have used Telerik, Infragistics controls in the past, and loved them.
From my research so far - it seems like I will have to build an app that outputs HTML5 for maximum compatibility.
I like the ComponentOne controls so far - http://www.componentone.com/SuperProducts/StudioiPhone/
I am also looking at the KendoUI (http://www.kendoui.com/) - I like it, but seems like it is all javascript, and I have very limited experience there.
Are there any components/frameworks that you guys would recommend ? Paid components are fine.
I just want a few charts that are accessible everywhere. I know I could use MVC - and design a different a different UI layer for each platform, but I dont have that much time.
Maybe you want to consider ASP.NET MVC and expose it as a web site, since ASP.NET MVC 4 will have explicit mobile support.
Also, if you want an actual application, you could consider various products like:
http://www.phonegap.com/
http://www.appcelerator.com/
it depends what type of feature you want to make available. Must of the HTML-based frameworks require JavaScript.
HTH.
Have you looked at Sencha? While I have not played with the Sencha charts, I have tried other widgets.
www.sencha.com
You can put together ASP.net MVC at the backend with Sencha consisting of HTML5 + Javascript
Stick with ComponentOne if you want to keep working in WebForms and aren't OK with JavaScript. They have HTML5 charts that work everywhere too.
If you are looking to move to MVC/JavaScript then ComponentOne has Wijmo too. Wijmo is 30 jQuery UI widgets including the same HTML5 charts they extend in WebForms.

asp.net mobile web applications

I'm working in a web mobile application to support a mimimal subset of operations for an existing website.
My base tools are, asp.net 4.0 with simple css to try to archive a more extensive range of devices.
My questions are:
- I'm in a good direction? ... or ther's a better way to do it? (other kind of controls, etc..)
- My device (mobile) is a Nokia e71 and i'm starting to see some glitches:
- autopostback properties dont work
- clientvalidationscripts dont work
Please give me some hints and advices. Thank u all.
Are you using the Mobile controls in ASP.NET, or just the regular ones? There is a separate set that are intended to support and adjust to various mobile devices somewhat better.
For a first-effort mobile site, I would look either at a well-established mobile framework (to be honest, I've never extensively used the ASP.NET Mobile Webforms controls), or to do something where I'm building my own HTML much more directly, to be sure to keep things mobile-safe.
That's one of the reasons I use ASP.NET MVC more myself, now... but that is a bit of a leap to make, and especially if it would just be for mobile use.
So anyway, if you are already using the ASP.NET Mobile controls, my answer is irrelevant!
Always, regardless of the type of website, design for "Progressive enhancement".
In other words, get everything working using the minimum (no javascript, very simple CSS). Then progressively enhance it so that additional functionality is available to those with browsers that can support it.
Many ASP.NET controls have javascript behind them. Ensure that you design so that they continue to work without javascript, or use other controls that don't require javascript at all.
WRT your client validation - You should always validate on the server side as well. In that case the fact that on some devices the client validation isn't running makes no real difference.
Do not use any asp.net control on a mobile site, .net rendering by device usually screws things up.
Do not use .net server forms.
If you can use MVC
Simple javascripts should work most of the modern devices.
Ajax works too but don't use jQuery, write simple ajax post/get functons

Any real reason to use ASP.NET Mobile?

I've been putting together a small web form for our technicians to use from their phones out in the field. However I'm having a lot of trouble getting things working using ASP.NET Mobile, and there seems to be few resources out there to help learn this stuff. I'm also having trouble getting help.
So the thing is, do I really need to use the mobile controls? The phones will all have web browsers, so I'm thinking if I'm careful with the interface I can get as good or better results than using the mobile controls.
The only thing I would like from the mobile controls is the PhoneCall control... so the follow up question would be: Can I get the functionality of the PhoneCall control without using it?
Depends which phones your customers will use. Not all phones support the full and rich HTML produced by classic ASP.NET controls. Mobile controls tend to produce simpler and specific for the device. Certainly there are limitations on the controls, but this is due to the limitations of the end devices.
So, test if the classic ASP.NET pages are working with your target device, before doing a Mobile version.
Use mobile controls has same adventages that web controls in web. Using Mobile Controls + Controls Adapters + WURFL helps to developing very fast to many devices.
Yes, you can use WTAI primitives of WML: <a ref="wtai://wp/mc;34123456789">Call</a>
You can always navigate to a page that has those phone controls when needed

Can ASP.NET pages be as "lively" as a page done with just HTML?

I've never created a web page and I'm just learning ASP.NET now and all the examples I see are mostly with filling out forms etc. So I'm wondering if the lively, colorful, and snazzy web sites can be done with ASP.NET. I have also been playing with a trial of Expression Web. It seems to be for the "fancier" side of things. Are the two sides of the web mutually exclusive or can an ASP.NET page be just as colorful? Keep in mind I'm new to doing anything on the web.
Thanks for your help?
Yes, you can make an ASP.NET page look just like a static web page. The look and feel of a web page is done completely on the client side, using HTML, Javascript and CSS. ASP.NET lets you use all of these things, but it provides the ability to generate output to the page on the server side before sending it to the client's browser. Once it gets to the browser, the HTML, Javascript and CSS will apply just as if the client was loading a static page.
Absolutely yes!
You may be confused with the tutorials which are focused on teaching backside technology and poor on page design. Isn't microsoft.com colourful enough?
Asp .Net just outputs html.
ASP.NET is simply a web application framework. What is sent to the browser is *usually** HTML, so anything that you can do with a static HTML page, you can do with ASP.NET.
In my personal experience, I have had better luck with producing "lively" pages using ASP.NET MVC, since I have better control over the markup, and I don't have to contend with ViewState or munged control IDs. Subjectively, the pages feel less sluggish than those of ASP.NET, and I can use JQuery to improve the user experience.
Yes you can, just do not use Web Controls. I have written several Blogs on this so far this year. http://professionalaspnet.com/archive/tags/Thin+ASP/default.aspx
Ultimately, html is sent to the browser irrespective of the server side technology, so question is a bit awkward.
But for aesthetics side, asp.net provides features called master pages, themes, skins. By providing these it goes beyond css.
ASP.NET can be used to produce very lively and colourful pages, but you need to understand how to create the pizzaz. Mostly that's going to be media and javascript. For that, you need to understand HTML, and then what the ASP.NET Server controls render as in HTML so that you can control and manipulate it in your javascript more easily.
The reason that ASP.NET tutorials feature data and forms is that the need to manage data (and dynamic content deriving from it) is what makes people use ASP.NET rather than static html.

Resources