I read a lot about XHTML MP standards, but I never saw a complete working ASP.NET project with XHTML standards and code-behind. All the examples where HTML only with scripts. By the way, most old phones can't display scripts.
I tried using normal web server controls in Visual Studio 2008, but that got a low ready.mobi score and didn't render on most old phones (I never had problems on a Nokia n95 for example). I also tried the Mobile Web controls (using the mobile web template and controls). But that made a WML site that completely failed the ready.mobi test.
Today I read in a post today a ASP.NET web form can use plain old -->HTML 4.0 controls<--. Including the button onserverclick event. http://forums.asp.net/p/1427819/3189151.aspx. It seems I was barking up the wrong tree, searching hard for mobile controls or making server controls work.
So, if I put 2 and 2 together, by using HTML 4.0 controls & a correct DOCTYPE, I should finally have a ASP.NET web application that should be: 100% XHTML MP compliant, have basic events, c# code behind, pass the ready.mobi test, and run on most mobile web-browsers.
If this work, I'll try to remember to come back and let people know. Any comments on this?